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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store