Right-click the command prompt, terminal, or app
Select Run as administrator
If prompted by User Account Control, click Yes
Open Start, type the command app name, then press Ctrl+Shift+Enter
In Windows Terminal, open the menu and choose Run as administrator
In PowerShell, start it as administrator before running the command
For a specific command, open an elevated terminal first, then enter the command
On macOS or Linux, use sudo before the command if you have permission
Enter your password if prompted
