- choco install git
1 확인[ | ]
doscon
Copy
C:\WINDOWS\system32>git --version
'git'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
2 설치[ | ]
doscon
Copy
C:\WINDOWS\system32>choco install git
Chocolatey v0.10.8
Installing the following packages:
git
By installing you accept licenses for the packages.
Progress: Downloading git 2.14.2.20170927... 100%
git.install v2.14.2.20170927 [Approved]
git.install package files install completed. Performing other installation steps.
Using Git LFS
Installing 64-bit git.install...
git.install has been installed.
git.install installed to 'C:\Program Files\Git'
git.install can be automatically uninstalled.
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
The install of git.install was successful.
Software installed to 'C:\Program Files\Git\'
git v2.14.2.20170927 [Approved]
git package files install completed. Performing other installation steps.
The install of git was successful.
Software install location not explicitly set, could be in package or
default install location if installer.
Chocolatey installed 2/2 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
3 확인 2[ | ]
doscon
Copy
C:\WINDOWS\system32>git --version
'git'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
C:\WINDOWS\system32>refreshenv
Refreshing environment variables from registry for cmd.exe. Please wait...Finished..
C:\WINDOWS\system32>git --version
git version 2.14.2.windows.1
4 같이 보기[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.