"윈도우 Chocolatey 설치"의 두 판 사이의 차이

1번째 줄: 1번째 줄:
==개요==
;Chocolatey 설치
;Chocolatey 설치


*cmd 실행
==확인==
<source lang='cli'>
C:\Users\Jmnote>choco -v
'choco'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
</source>


==설치==
<source lang='dos'>
<source lang='dos'>
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
50번째 줄: 55번째 줄:
PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Add
PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Add
ing...
ing...
</source>
==확인 2==
<source lang='cli'>
C:\Users\Jmnote>choco -v
0.9.9.11
</source>
</source>



2016년 1월 22일 (금) 21:06 판

Chocolatey 설치

1 확인

C:\Users\Jmnote>choco -v
'choco'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.

2 설치

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
C:\Users\Jmnote>@powershell -NoProfile -ExecutionPolicy unrestricted -Command "(
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.p
s1'))) >$null 2>&1" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

7-Zip (A) 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18

Processing archive: C:\Users\Jmnote\AppData\Local\Temp\chocolatey\chocInstall\ch
ocolatey.zip

Extracting  _rels\.rels
Extracting  chocolatey.nuspec
Extracting  tools\chocolateyInstall.ps1
Extracting  tools\chocolateysetup.psm1
Extracting  tools\init.ps1
... (생략)
Extracting  tools\chocolateyInstall\tools\shimgen.exe.ignore
Extracting  tools\chocolateyInstall\tools\shimgen.license.txt
Extracting  package\services\metadata\core-properties\d830953f078f45f99a2e4d814d
1b7974.psmdcp
Extracting  [Content_Types].xml

Everything is Ok

Files: 76
Size:       4893948
Compressed: 1806765
경고: Setting ChocolateyInstall Environment Variable on USER and not SYSTEM
variables.
  This is due to either non-administrator install OR the process you are
running is not being run as an Administrator.
경고: It's very likely you will need to close and reopen your shell
  before you can use choco.
경고: User is not running elevated, cannot set user permissions.
경고: You can safely ignore errors related to missing log files when
  upgrading from a version of Chocolatey less than 0.9.9.
  'Batch file could not be found' is also safe to ignore.
  'The system cannot find the file specified' - also safe.
경고: Setting ChocolateyInstall Path on USER PATH and not SYSTEM Path.
  This is due to either non-administrator install OR the process you are
running is not being run as an Administrator.
PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Add
ing...

3 확인 2

C:\Users\Jmnote>choco -v
0.9.9.11

4 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}