跳到主要内容

使用命令行连接WiFi

查看附近WiFi
system_profiler SPAirPortDataType [-json]
连接网络
networksetup -setairportnetwork en1 <SSID> <密码>