Try wifi --help after installation
$ brew tap TanmayPatil105/tap
$ brew install wifi-cli
$ curl -s https://raw.githubusercontent.com/TanmayPatil105/wifi-cli/main/curl.sh | bash
$ sudo chmod +x /bin/wifi
$ git clone https://github.com/TanmayPatil105/wifi-cli.git
$ cd wifi-cli
$ sudo chmod +x install.sh configure
$ ./configure
$ sudo ./install.sh
$ sudo ./install.sh remove
Install following packages before using wifi-cli
- xterm
$ sudo apt install xterm
$ sudo pacman -S xterm
- nmcli
$ sudo apt install network-manager
$ sudo pacman -S networkmanager
$ sudo docker build -t wifi-cli .
wifi on
wifi off
wifi status
wifi list
wifi connect '$SSID'
wifi pass
wifi saved
wifi hotspot
wifi hotspot off
wifi forget '$SSID'
wifi recon
wifi speed
Please open an issue if you'd like to report a bug or request a feature.
Do ⭐ the repo if you find it useful
Follow guidelines before contributing.
Uses speedtest-cli for checking network speed
Try changing the /src/wifi
file using following steps if hotspot option doesn't work
- nmcli con down Hotspot > /dev/null
+ UUID=$(grep uuid /etc/NetworkManager/system-connections/Hotspot.nmconnection | cut -d= -f2)
+ nmcli con up uuid $UUID > /dev/null