How to connect to Wifi Network with i3wm?

I just installed Ubuntu minimal with i3wm, but I can't figure out, how to connect it to the wireless network.

I already have installed network-manager package. Also I added exec --no-startup-id nm-applet to my ~/.config/i3 but apt-get cannot find network-manager-applet to install.

Im stuck here, what can I do?


I use (and would recommend) nmtui, a curses based TUI that will allow you to edit and activate connections.

It should already be installed on your system, but if not, you can get it by running sudo apt install network-manager.


You can use Network Manager's command line tool called nmcli.

1. Use nmcli dev wifi to locate the access point(AP) name.
2. Use nmcli device wifi connect APname password password