wiki:jazz/20-04-24

Version 5 (modified by jazz, 5 years ago) (diff)

--

2020-04-24

Windows PowerShell

SCOOP (Windows Homebrew)

  • without Admin permission
  • 以下腳本算是混合了 cmder-full (內含 git-for-windows 也就是 scoop 的 git package)
    • scoop install git cmder = scoop install cmder-full
## Note: if you get an error you might need to change the execution policy (i.e. enable Powershell) with
Set-ExecutionPolicy RemoteSigned -scope CurrentUser

## NOTE: install to specified folder 'c:\scoop'
## https://techformist.com/install-scoop-for-command-line-nirvana/
$env:SCOOP='c:\scoop'
[environment]::setEnvironmentVariable('SCOOP',$env:SCOOP,'User')
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

scoop install git

# make Symlinks in Windows available
## https://stackoverflow.com/questions/32847697/windows-specific-git-configuration-settings-where-are-they-set/32849199#32849199
## https://www.joshkel.com/2018/01/18/symlinks-in-windows/
[environment]::setEnvironmentVariable('MSYS','winsymlinks:nativestrict','User')

scoop bucket add java
scoop bucket add extras

scoop install python
scoop install ojdkbuild8-full
scoop install chromedriver
scoop install vscode-portable

Git-Bash