You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PowerShell Language Mode is required to be FullLanguage to run the installer and Scoop.
The PowerShell Execution Policy is required to be one of RemoteSigned, Unrestricted or ByPass to run the installer. For example, it can be set to RemoteSigned via:
Run this command from a non-admin PowerShell to install scoop with default configuration,
scoop will be install to C:\Users\<YOUR USERNAME>\scoop.
irm get.scoop.sh | iex
# You can use proxies if you have network trouble in accessing GitHub, e.g.
irm get.scoop.sh -Proxy 'https://<ip:port>'| iex
Advanced Installation
If you want to have an advanced installation, you can download the installer and manually execute it with parameters.
irm get.scoop.sh -outfile 'install.ps1'
To see all configurable parameters of the installer.
.\install.ps1 -?
For example, you could install scoop to a custom directory, configure scoop to install
global programs to a custom directory, and bypass system proxy during installation.
Installation under the administrator console has been disabled by default for security considerations. If you know what you are doing and want to install Scoop as administrator. Please download the installer and manually execute it with the -RunAsAdmin parameter in an elevated console. Here is the example:
irm get.scoop.sh -outfile 'install.ps1'
.\install.ps1 -RunAsAdmin [-OtherParameters ...]
# I don't care about other parameters and want a one-line command
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
Silent Installation
You can redirect all outputs to Out-Null or a log file to silence the installer. And you can use $LASTEXITCODE to check the installation result, it will be 0 when the installation success.
# Omit outputs
.\install.ps1 [-Parameters ...] |Out-Null# Or collect logs
.\install.ps1 [-Parameters ...] > install.log
# Get result$LASTEXITCODE
License
The project is released under the Unlicense License and into the public domain.