File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,15 +23,19 @@ set-executionpolicy remotesigned -scope currentuser
2323In 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
3034Assuming 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
3741Assuming you didn't see any error messages, Scoop is now ready to run.
You can’t perform that action at this time.
0 commit comments