« Scoop » : différence entre les versions
Apparence
Ligne 12 : | Ligne 12 : | ||
# update all the apps | # update all the apps | ||
scoop update * | scoop update * | ||
# add the extras bucket | |||
scoop bucket add extras | |||
</kode> | </kode> | ||
Version du 12 novembre 2021 à 11:12
Links
CLI
scoop search <app>
scoop install <app>
# download the latest version of scoop and updates the local app manifests
scoop update
# update all the apps
scoop update *
# add the extras bucket
scoop bucket add extras
|
Install
# 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
# uninstalling
scoop uninstall scoop
|