This should be a common situation. I have configured a Pi with Bookworm to work headless on my WiFi and now want to move it to a different location with another LAN. I have the SSID and password, but cannot access that network from here and cannot access my own LAN from there. So if I move the pi to the other location I will not be able to access it (unless I also bring a monitor and keyboard...). So I want to add the other network to the network list of the Pi, but with the new nmcli command it only seems to allow me to add networks it can find (and raspi-config returns "There was an error" because the nmcli command it runs returns "No network with SSID 'myNetID' found").
Is there a way to add a wifi network (SSID + unencrypted password) so it can connect to it later, as was possible before by editing wpa_supplicant.conf?