Press the Windows key to open the Start menu, and then type Command Prompt. Once it appears in the list, right-click on it to open with administrator privileges. You can also open PowerShell instead ...
OS Tahoe 26.4 users have discovered that the update adds a new Terminal security popup when you first try to paste in commands.