Skip to content

Instantly share code, notes, and snippets.

@whaison
Last active February 12, 2017 04:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whaison/647dec80711adb013b4ec7b04ce460cd to your computer and use it in GitHub Desktop.
Save whaison/647dec80711adb013b4ec7b04ce460cd to your computer and use it in GitHub Desktop.
choco install git
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS C:\Windows\system32> choco install git
Chocolatey v0.10.3
Installing the following packages:
git
By installing you accept licenses for the packages.
chocolatey-core.extension v1.0.6 [Approved]
chocolatey-core.extension package files install completed. Performing other installation steps.
Installed/updated chocolatey-core extensions.
The install of chocolatey-core.extension was successful.
Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-core'
git.install v2.11.1.20170208 [Approved]
git.install package files install completed. Performing other installation steps.
The package git.install wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider setting
'allowGlobalConfirmation'. Run 'choco feature -h' for more details.
Do you want to run the script?([Y]es/[N]o/[P]rint):
Timeout or your choice of '' is not a valid selection.
You must select an answer
Do you want to run the script?([Y]es/[N]o/[P]rint): Y
Installing 64 bit version
Installing git.install...
-----------------------------------------------------------------
----------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
Installing 64 bit version
Installing git.install...
git.install has been installed.
git.install installed to 'C:\Program Files\Git'
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.11.1.20170208 [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 3/3 packages. 0 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Did you know the proceeds of Pro (and some proceeds from other
licensed editions) go into bettering the community infrastructure?
Your support ensures an active community, it makes you look smarter,
plus it nets you some awesome features!
https://chocolatey.org/compare
PS C:\Windows\system32>
-----------------------------------------------------------------
----------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
-----------------------------------------------------------------
----------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS C:\Windows\system32> choco install git
Chocolatey v0.10.3
Installing the following packages:
git
By installing you accept licenses for the packages.
chocolatey-core.extension v1.0.6 [Approved]
chocolatey-core.extension package files install completed. Performing other installation steps.
Installed/updated chocolatey-core extensions.
The install of chocolatey-core.extension was successful.
Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-core'
git.install v2.11.1.20170208 [Approved]
git.install package files install completed. Performing other installation steps.
The package git.install wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider setting
'allowGlobalConfirmation'. Run 'choco feature -h' for more details.
Do you want to run the script?([Y]es/[N]o/[P]rint):
Timeout or your choice of '' is not a valid selection.
You must select an answer
Do you want to run the script?([Y]es/[N]o/[P]rint): Y
Installing 64 bit version
Installing git.install...
git.install has been installed.
git.install installed to 'C:\Program Files\Git'
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.11.1.20170208 [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 3/3 packages. 0 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Did you know the proceeds of Pro (and some proceeds from other
licensed editions) go into bettering the community infrastructure?
Your support ensures an active community, it makes you look smarter,
plus it nets you some awesome features!
https://chocolatey.org/compare
PS C:\Windows\system32>
-----------------------------------------------------------------
----------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
Windows PowerShell
Copyright(C)2016 Microsoft Corporation。全著作権所有。
PS C:\ Windows \ system32> choco install git
チョコレートv0.10.3
次のパッケージをインストールします。
git
インストールすることにより、パッケージのライセンスを受け入れることができます。
chocolatey-core.extension v1.0.6 [承認済み]
chocolatey-core.extensionパッケージファイルのインストールが完了しました。他のインストール手順を実行する。
 インストールされた/更新されたchocolatey-core拡張機能。
 chocolatey-core.extensionのインストールは成功しました。
  'C:\ ProgramData \ chocolatey \ extensions \ chocolatey-core'にインストールされたソフトウェア
git.install v2.11.1.20170208 [承認済み]
git.installパッケージファイルのインストールが完了しました。他のインストール手順を実行する。
パッケージgit.installは 'chocolateyInstall.ps1'を実行します。
注:このスクリプトを実行しないと、インストールは失敗します。
注:次回に自動的に確認するには、「-y」を使用するか、
 'allowGlobalConfirmation'。詳細については、 'choco feature -h'を実行してください。
スクリプトを実行しますか?([Y] es / [N] o / [P] rint):
タイムアウトまたは ''の選択は有効な選択ではありません。
あなたは答えを選択する必要があります
スクリプトを実行しますか?([Y] es / [N] o / [P] rint):Y
64ビットバージョンのインストール
git.installのインストール...
git.installがインストールされています。
git.installが 'C:\ Program Files \ Git'にインストールされています
環境変数(PATHのような)が変更されました。あなたのシェルを閉じる/再オープンする
 変更を参照してください(または、 `refreshenv`と入力するだけでpowershell / cmd.exeにあります)。
 git.installのインストールは成功しました。
  'C:\ Program Files \ Git \'にインストールされているソフトウェア
git v2.11.1.20170208 [承認済み]
gitパッケージファイルのインストールが完了しました。他のインストール手順を実行する。
 gitのインストールは成功しました。
  ソフトウェアのインストール場所が明示的に設定されていない、パッケージに入っている、または
  インストーラーの場合、デフォルトのインストール場所。
Chocolateyは3/3のパッケージをインストールしました。 0パッケージが失敗しました。
 詳細はログを参照してください(C:\ ProgramData \ chocolatey \ logs \ chocolatey.log)。
あなたはProの収益を知っていましたか?
 ライセンス版)は、コミュニティインフラストラクチャの改善に役立ちますか?
 あなたのサポートはアクティブなコミュニティーを保証し、よりスマートに見せます。
 それはあなたにいくつかの素晴らしい機能を網羅しています!
 https://chocolatey.org/compare
PS C:\ Windows \ system32>
-----------------------------------------------------------------
----------------------------------------------------------
PS C:\ Windows \ system32> Chocolatey update
チョコレートv0.10.3
免責条項 - chocoのアップデートは廃止され、削除されるか、または
  バージョン1.0.0では機能を実行するものに置き換えられました
  パッケージインデックスを更新する 代わりに `choco upgrade`を使用してください。
パッケージ名は必須です。 アップグレードするには少なくとも1つのパッケージ名を渡してください。
PS C:\ Windows \ system32>
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
PS C:\ Windows \ system32> choco upgrade
チョコレートv0.10.3
パッケージ名は必須です。 アップグレードするには少なくとも1つのパッケージ名を渡してください。
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment