$ /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -h Supported arguments: -c[<arg>] --channel=[<arg>] Set arbitrary channel on the card -z --disassociate Disassociate from any network -I --getinfo Print current wireless status, e.g. signal info, BSSID (requires sudo), port type etc. -s[<arg>] --scan=[<arg>] Perform a wireless broadcast scan. Will perform a
![macOSでWifiの設定をCLIから操作する](https://cdn-ak-scissors.b.st-hatena.com/image/square/d9d40eaecef368e95f61751797cbfc331b15aa68/height=288;version=1;width=512/https%3A%2F%2Fstorage.googleapis.com%2Fzenn-user-upload%2Favatar%2F715cbf0c54.jpeg)