Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # setup.ps1
- # installs scoop and common dev tools
- # set execution policy
- Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
- # install scoop
- iex "& {$(irm get.scoop.sh -Proxy 'https://<ip:port>')} -RunAsAdmin"
- # ensure scoop is available in session
- $env:Path += ";$env:USERPROFILE\scoop\shims"
- # install packages
- $buckets = @(
- "extras"
- )
- foreach ($bkt in $buckets) {
- Write-Host "Adding bucket $bkt..."
- scoop bucket add $bkt
- }
- $packages = @(
- "git",
- "nodejs-lts",
- "python",
- "vscode"
- )
- foreach ($pkg in $packages) {
- Write-Host "Installing $pkg..."
- scoop install $pkg -g
- }
Advertisement
Add Comment
Please, Sign In to add comment