• Stars
    star
    612
  • Rank 70,959 (Top 2 %)
  • Language
    PowerShell
  • License
    The Unlicense
  • Created over 5 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ“ฅ Next-generation Scoop (un)installer

Scoop (un)installer

Installation

Prerequisites

PowerShell execution policy is required to be one of: Unrestricted, RemoteSigned or ByPass to execute the installer. For example:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Typical Installation

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 'http://<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.

.\install.ps1 -ScoopDir 'D:\Applications\Scoop' -ScoopGlobalDir 'F:\GlobalScoopApps' -NoProxy

Or you can use the legacy method to configure custom directory by setting Environment Variables. (Not Recommended)

$env:SCOOP='D:\Applications\Scoop'
$env:SCOOP_GLOBAL='F:\GlobalScoopApps'
[Environment]::SetEnvironmentVariable('SCOOP_GLOBAL', $env:SCOOP_GLOBAL, 'Machine')
irm get.scoop.sh | iex

For Admin

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

More Repositories

1

Scoop

A command-line installer for Windows.
PowerShell
20,063
star
2

Extras

๐Ÿ“ฆ The Extras bucket for Scoop.
PowerShell
1,710
star
3

Main

๐Ÿ“ฆ The default bucket for Scoop.
PowerShell
1,509
star
4

Java

๐Ÿ“ฆ A bucket for Scoop, for Oracle Java, OpenJDK, Eclipse Temurin, IBM Semeru, Zulu, ojdkbuild, Amazon Corretto, BellSoft Liberica, SapMachine and Microsoft JDK.
PowerShell
233
star
5

Awesome

A curated list of awesome Scoop resources and more.
187
star
6

Versions

๐Ÿ“ฆ A Scoop bucket for alternative versions of apps.
PowerShell
169
star
7

Nirsoft

๐Ÿ“ฆ Bucket of almost all of the 280+ apps from Nirsoft.net. Migrated from MCOfficer/scoop-nirsoft with permission.
Python
83
star
8

BucketTemplate

Template Bucket for Scoop Installer
PowerShell
81
star
9

scoopinstaller.github.io

ScoopInstaller homepage and search engine
TypeScript
71
star
10

Shim

A Scoop helper program for shimming executables
C#
59
star
11

Nonportable

๐Ÿ“ฆ Scoop bucket for non-portable applications.
PowerShell
48
star
12

PHP

๐Ÿ“ฆ PHP Bucket for Scoop
PowerShell
34
star
13

Excavator

๐Ÿ•ณ๏ธ This container runs the updating services for all scoop manifest repos (deprecated)
Dockerfile
24
star
14

GithubActions

Github Actions for Scoop buckets
PowerShell
22
star
15

Binary

๐Ÿ—„ Scoops mirror for binaries that are no longer available
PowerShell
16
star
16

GitCloner

A small helper script that clones a Git repository
PowerShell
13
star
17

Validator

A Scoop helper program for validating JSON files against a JSON Schema
C#
7
star
18

.github

Org-wide settings
3
star
19

scoopinstaller.github.io-indexer

Indexer to maintain Scoop applications index
C#
2
star
20

scoopinstaller-dev.github.io

Auto-generated development website from ScoopInstaller/scoopinstaller.github.io
HTML
1
star