wiki:jazz/20-04-24

2020-04-24

Windows PowerShell

SCOOP (Windows Homebrew)

  • without Admin permission
## 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
  • 實驗中
    • scoop install git cmder = scoop install cmder-full + GIT_INSTALL_ROOT + GIT_SSH + cmd/git.exe

Git-Bash

Last modified 4 years ago Last modified on Apr 25, 2020, 1:25:05 AM