nmcli wpa2 enterprise connection
# nmcli con add type wifi ifname wlp3s0 con-name school-wifi ssid school-ssid
# nmcli con edit id school-wifi
nmcli> set ipv4.method auto
nmcli> set 802-1x.eap peap
nmcli> set 802-1x.phase2-auth mschapv2
nmcli> set 802-1x.identity myusername
nmcli> set 802-1x.password mypassword
nmcli> set wifi-sec.key-mgmt wpa-eap
nmcli> save
nmcli> activate
tools
nmcli
Useful on headless systems AND supports wpa-eap which is nice. However, it's never very fun to configure a wifi network with the CLI... especially since you're often doing so without internet access.
nmtui
Very clunky and outdated TUI for network manager. It doesn't support wpa-eap, but otherwise more or less works. Not a great experience.
network manager applet
This is the official applet / GUI window on gnome and other similar systems. It works well, but feels out of place on TUI oriented environments.