Enter a password in the Terminal window on Mac
When a password is required in the Terminal window, you see a key prompt and the cursor changes. Characters aren’t displayed as you type, to keep your password secure. Even though no characters appear as you type and the cursor doesn’t move, enter your password, then press Return.
In the Terminal app on your Mac, type your password at the prompt, then press Return.