Change network from terminal

I’m having a little trouble configuring the network through the terminal to use in another network, does anyone know the command for this task?

I know its a .conf file and you are able to edit it with nano. That being said, if you are able to login to Umbrel in the top right hand corner is a WIFI strength looking indicator. Click on it and select the network you want to use.

Umbrel is installed on a machine with Windows 10 is connected through the cable I do not have access to wifi, it does not have any command to use through the terminal ?