Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # to do manually outside of this shell (but in powershell)
- Set-ExecutionPolicy RemoteSigned -scope CurrentUser
- $SCDIR = "c:\software\scoop"
- $SCBIN = $SCDIR + "\apps\scoop\current\bin"
- $SCOOP= $SCBIN + "\scoop "
- # set env variables
- [environment]::setEnvironmentVariable('SCOOP', $SCDIR,'User')
- [environment]::setEnvironmentVariable('SCOOP_GLOBAL', $SCDIR,'Machine')
- #[environment]::setEnvironmentVariable('Path', $pt,'Machine') #[environment]::ExpandEnvironmentVariables("Path", $CDIR)
- # download and run the installer
- iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
- Function PkgInst {
- param([string] $pkg)
- $cmd = $SCOOP
- & $SCBIN\scoop install $pkg -g
- }
- Function PkgUp {
- param([string] $pkg)
- $cmd = $SCOOP
- & $SCBIN\scoop install $pkg -g
- }
- InstPkg "git"
- & $SCOOP bucket add extras
- & $SCOOP bucket add java
- & $SCOOP bucket add games
- $PKGS=@("anydesk", "arduino", "busybox", "calibre", "cdburnerxp", "cdrtools", "cpu-z", "cpu-v", "cudatext", "notepad2", "notepadplusplus", "conemu", "ccleaner", "gimp",
- "hwmonitor", "inkscape", "imgburn", "keepass", "lessmsi", "openjdk", "paint.net", "powertoys", "python", "qalculate", "restic", "rufus", "scratch", "vlc",
- "winaero-tweaker")
- $IGNORED=@("sysinternals", "wireshark", "rktools2k3")
- Foreach ($pkg in $PKGS) {
- PkgInst $pkg
- }
- # see what apps are installed
- scoop list
- # see what apps need to be updated
Add Comment
Please, Sign In to add comment