Do you insist on nmcli? I find nmtui an easier alternative for the terminal (and it should come with the same package as nmcli). Or you probably have some gui application as part of your desktop environment that is easier to work with.
In nmtui you first have to create a new connection → add → wifi.
Then set SSID and security (probably WPA2 or 3 is the most common if you have a wifi password).
Under IPv4 and IPv6 you can leave it as Automatic if your school has a DHCP server (if they do they should already have a proper DNS). But od the right side you can expand the option with <Show> and there you will find the DNS option (it may be benefitial to add more DNS servers than just your school’s one).
Then just press Ok and go back to the main screen of nmtui where is an option to “activete a connection”.
Does the school offer students the authentication agent and certificate that would allow you to log on to the network?
If these answers are “No,” query the student: Which goals within the school’s scope of authority would be advanced by these restrictions? Can you meet the school’s goals using available methods of information and discussion? Extra credit: Does the social contract encourage people to be held to a common set of expectations, and if so, how would that be seen as a benefit, not a harm?
Two handwritten pages in your blue book, due Friday. Incomplete will be graded as zero.
The password is the password to our own school accounts. It’s configured that way. It queries us for it every time along with our username; the username is our school email.
If the wifi requires per user password and username then the “security” setting is not WPA2. Try other options. If that does not help then I have no idea how to connect to that wifi.
A common gambit in hotels is to have two wifis, one unsecured. You connect to the unsecured, and a web page is presented to log into the secured one. You could check your local networks for this. Note: you will need to use a not-very-secure browser like out-of-the-box Firefox or the switch to the login page may not happen. Once you are connected to the secured wifi, you can use any networking program or browser.
Bypassing school and/or work internet security can be difficult at best and impossible at worst. Plus, if caught, you can be suspended or expelled from school or fired from work.