Created
July 2, 2022 14:13
-
-
Save enpitsuLin/1d9d05d608ba5e0ddda1f1afdf7657ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# enable run remote script | |
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | |
# Scoop configruation | |
$env:SCOOP = 'E:\scoop' # custom scoop install dir | |
$env:SCOOP_GLOBAL = 'E:\scoop\apps' # custom scoop app install dir | |
[environment]::setEnvironmentVariable('SCOOP_GLOBAL', $env:SCOOP_GLOBAL, 'Machine') | |
[environment]::setEnvironmentVariable('SCOOP', $env:SCOOP, 'User') | |
Invoke-WebRequest -useb get.scoop.sh | Invoke-Expression | |
scoop install sudo | |
scoop bucket add dorado https://github.com/h404bi/dorado.git | |
scoop bucket add tomato https://github.com/zhoujin7/tomato.git | |
scoop bucket add extras | |
scoop bucket add nerd-fonts | |
sudo scoop install 7zip git openssh --global | |
scoop install aria2 curl grep touch | |
scoop install v2ray xray v2rayn openssh | |
scoop config aria2-warning-enabled false | |
# Node configruation | |
Invoke-WebRequest https://get.pnpm.io/install.ps1 -useb | Invoke-Expression | |
pnpm env use --global lts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment