7
8

More than 5 years have passed since last update.

ChocolateyでGitをインストール

Posted at

社内にGitLabを構築してみたのですが、あんまり利用されないのでGitの布教から初めてみます。とりあえずインストールだ!

Chocolateyをインストールする

ChocolateyはWindows向けのパッケージ管理システムです。
コマンドプロンプトを立ち上げて次のコマンドを入力します。

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin

Gitをインストールする

Chocolateyを利用してGitをインストールします。デフォルトだとProgram Filesあたりにインストールされます。

cinst git

スタートメニューにGit BashとGit GUIができていればOKです。

7
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
8