« Scoop » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
Ligne 2 : Ligne 2 :
* [https://scoop.sh/ scoop]
* [https://scoop.sh/ scoop]


= Install =
= [https://github.com/lukesampson/scoop/wiki/Quick-Start Install] =
<kode lang='ps'>
<kode lang='ps'>
# prerequisites
# having PowerShell 5.0 or later installed
$psversiontable.psversion.major # should be >= 5.0
# allowing PowerShell to execute local scripts
get-executionpolicy -scope currentuser # RemoteSigned
# change the Scoop default install directory
$env:SCOOP='C:\scoop'
[environment]::setEnvironmentVariable('SCOOP',$env:SCOOP,'User')
# change the global apps default directory
$env:SCOOP_GLOBAL='c:\apps'
[environment]::setEnvironmentVariable('SCOOP_GLOBAL',$env:SCOOP_GLOBAL,'Machine')
# installing
iwr -useb get.scoop.sh | iex
iwr -useb get.scoop.sh | iex
# installed in $home\scoop
# installed in $home\scoop
</kode>
</kode>

Version du 13 octobre 2020 à 07:13

Links

Install

Ps.svg
# prerequisites
# having PowerShell 5.0 or later installed
$psversiontable.psversion.major # should be >= 5.0
# allowing PowerShell to execute local scripts
get-executionpolicy -scope currentuser # RemoteSigned

# change the Scoop default install directory
$env:SCOOP='C:\scoop'
[environment]::setEnvironmentVariable('SCOOP',$env:SCOOP,'User')

# change the global apps default directory
$env:SCOOP_GLOBAL='c:\apps'
[environment]::setEnvironmentVariable('SCOOP_GLOBAL',$env:SCOOP_GLOBAL,'Machine')

# installing
iwr -useb get.scoop.sh | iex
# installed in $home\scoop