Skip to content

Commit f45fe91

Browse files
committed
https://github.com/lukesampson/scoop/pull/3600
1 parent e2ddbea commit f45fe91

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Quick-Start.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,19 @@ set-executionpolicy remotesigned -scope currentuser
2323
In a PowerShell command console, run:
2424

2525
```powershell
26-
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
26+
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
27+
```
28+
or the shorter:
29+
```powershell
30+
iwr -useb get.scoop.sh | iex
2731
```
2832

2933
### Installing Scoop to Custom Directory
3034
Assuming the target directory is `C:\scoop`, in a PowerShell command console, run:
3135
```powershell
3236
$env:SCOOP='C:\scoop'
3337
[environment]::setEnvironmentVariable('SCOOP',$env:SCOOP,'User')
34-
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
38+
iwr -useb get.scoop.sh | iex
3539
```
3640

3741
Assuming you didn't see any error messages, Scoop is now ready to run.

0 commit comments

Comments
 (0)