-
Notifications
You must be signed in to change notification settings - Fork 37
Chocolatey
nmaya edited this page Nov 26, 2023
·
1 revision
Chocolatey 1.4.0 を用いる。
Chocolatey 2.0.0 以降はバージョン番号が正規化されるので、5.0 が 5.0.0 にされてしまうため。
- Chocolatey 1.4.0 のインストール
https://chocolatey.org/install https://docs.chocolatey.org/en-us/choco/setup#installing-a-particular-version-of-chocolatey
PowerShell を管理者権限で起動する
$env:chocolateyVersion = '1.4.0'
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
- API キーの設定
https://docs.chocolatey.org/en-us/create/commands/api-key
choco apikey add -k <your key here> -s https://push.chocolatey.org/
cf. https://github.com/TeraTermProject/osdn-download/issues/26#issuecomment-1766765781