LoginSignup
2
3

More than 5 years have passed since last update.

ChocolateyでWindowsの環境構築

Posted at

新しくWindows PCを手に入れたので綺麗な状態から環境構築を行う.
入れれるものは全部Chocolateyで入れるポリシーで進める.

ChocolateyはWindowsのパッケージマネージャ(Ubuntuで言うapt-getや,CentOSで言うrpmコマンド的なもの).

Chocolateyインストール

公式サイトの手順通り,コマンドプロンプトを開いて以下を張り付け.
コマンドプロンプトは管理者権限で実行することを忘れずに.

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

諸々必要なものをインストール

インストール可能なパッケージはchoco listで表示できる.
一度見てみると,え,これのWindows版あったの?みたいな発見があるかも.

C:\> choco install -y googlechrome cmder teraterm winscp python sakuraeditor git 7zip vscode gimp pandoc 

取り急ぎ以下のものを入れた.

パッケージ 概要
googlechrome メインで使うwebブラウザ
cmder タブで複数表示できるコンソール
teraterm リモートサーバにssh/scpしたりシリアル接続したり,ポートフォワードしてチョメチョメしたり
winscp リモートサーバのファイルをいじるのにローカルのソフト(vscodeとか)を使いたい場合や,ローカルとリモートでファイルのミラーリングをしながら作業したい場合など
python 蛇つかいなので
sakuraeditor メモ帳がしんどいので
git 要るだろ…
7zip 暗号化zipとか作るときに
vscode SublimeからのAtomからのVSCode
gimp ちょっと画像いじりたいときに
pandoc ちょこちょこ書いてるmarkdownを人に渡したりするときに
2
3
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
2
3