https://chocolatey.org/install
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco install -y gnuwin32-coreutils.install choco install gnuwin32-grep.install -y choco install which -y choco install git -y choco install vim -y
C:\Users\lenger>which rm
C:\Program Files (x86)\GnuWin32\bin\rm.exe
C:\Users\lenger>which which
C:\ProgramData\chocolatey\bin\which.exe
C:\Users\lenger>which ls
C:\Program Files (x86)\GnuWin32\bin\ls.exe
C:\Users\lenger>which grep
C:\Program Files (x86)\GnuWin32\bin\grep.exe
C:\Users\lenger>which mv
C:\Program Files (x86)\GnuWin32\bin\mv.exe
C:\Users\lenger>which mkdir
C:\Program Files (x86)\GnuWin32\bin\mkdir.exe
No comments:
Post a Comment