Check if the process is running as administrator on Windows
Check if the process is running with elevated privileges
Universal package installer, get the command for managing packages, or auto install any package, using one command for all platforms. Automate the installation of macOS Brew, and Windows Chocolatey package managers. A promisify child process of spawn, and
Check if script is executed with elevated permissions: using sudo on Linux or administrator rights on Windows