« Scoop » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
(Page créée avec « = Links = * [https://scoop.sh/ scoop] = Install = <kode lang='ps'> iwr -useb get.scoop.sh | iex </kode> »)
 
 
(7 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
[[Category:Windows]]
= Links =
= Links =
* [https://scoop.sh/ scoop]
* [https://scoop.sh/ scoop]


= Install =
= Description =
* by default applications are installed in {{boxx|C:\Users\<user>\scoop}}
 
= CLI =
<kode lang='ps'>
<kode lang='ps'>
scoop search <app>
scoop install <app>
scoop list
# 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
scoop bucket rm extras
</kode>
= [https://github.com/lukesampson/scoop/wiki/Quick-Start Install] =
<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
# uninstalling
scoop uninstall scoop
</kode>
</kode>

Dernière version du 15 novembre 2021 à 23:41

Links

Description

  • by default applications are installed in C:\Users\<user>\scoop

CLI

Ps.svg
scoop search <app>
scoop install <app>
scoop list

# 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
scoop bucket rm extras

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

# uninstalling
scoop uninstall scoop