Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
1
Help us understand the problem. What is going on with this article?
@ysuzuki_2

chocolatey の導入方法

More than 3 years have passed since last update.

chocolatey は、Linux での apt-get や yum に相当する、パッケージ管理機能です。

  1. chocolatey のインストール
    Chocolatey Gallery 配下の、Installing Chocolatey 参照
    https://chocolatey.org/install

コマンドプロンプトを管理者権限で実行し、以下のコマンドを入力する。


@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

2.パッケージの管理コマンド
(1) パッケージリストの取得
choco list -lo

(2) 単一パッケージのインストール (例:gimp)
choco install [packageName]
choco install -y gimp

(3) 複数パッケージをまとめてインストール
choco install [packageName] [packageName] [packageName]
cinst -y dropbox gimp adobereader ccleaner skype recuva git firefox

(4) パッケージの更新
chocolatey upgrade [packageName]
chocolatey update [packageName]

(5) インストールしたパッケージ全体の更新
chocolatey upgrade all -y
chocolatey update all

(6) パッケージのアンインストール
chocolatey uninstall [packageName]
chocolatey updateとした場合は、Chocolateyを最新のバージョンにアップデート

3.ChocolateyGUIをインストール
choco install ChocolateyGUI

1
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
1
Help us understand the problem. What is going on with this article?