I've used "nmtui" on Linux for many years to do this. "nm" = "Network Manager".
The bluetui author also has impala, which is a tui for the network manager. But in this case, nmtui is good enough.
I've used "nmtui" on Linux for many years to do this. "nm" = "Network Manager".