JAEN

macOS

networksetup

SafeNetwork settings (macOS)

networksetup -getinfo Wi-Fi

Get/set macOS network service settings from the CLI.

Examples

  • networksetup -listallnetworkservicesList network services

Syntax

networksetup -getinfo <service> | -setairportpower en0 on

Before you run it

get is read-only; set changes config.

Used when you see

Wi-Fi keeps dropping
2
On macOS inspect Wi-Fi configuration
See the whole flow →

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store