Skip to content

Instantly share code, notes, and snippets.

@oneleo
Last active November 10, 2021 07:49
Show Gist options
  • Save oneleo/8ed638139203e80481cfb5c881a838f4 to your computer and use it in GitHub Desktop.
Save oneleo/8ed638139203e80481cfb5c881a838f4 to your computer and use it in GitHub Desktop.
chtti g217 g313 choco
// https://chocolatey.org/
> 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'))
:: 驅動
> choco install -y vmware-tools
> choco install -y nvidia-display-driver
:: APP 指令程式
> choco install -y git.install --params "/NoShellIntegration"
> choco install -y cmake --installargs 'ADD_CMAKE_TO_PATH=User'
> choco install -y anaconda3 --params '"/AddToPath"'
:: 重啟 PS 後測試
> git --version
> cmake --version
> python --version
> pip --version
:: APP 桌面程式
> choco install -y vmwareworkstation --version=15.5.7.17171714
> choco install -y dontsleep.install adobereader chrome-remote-desktop-host 7zip.install zoomit powertoys vscode notepadplusplus.install chocolateygui putty.install winscp.install obs-studio github-desktop treesizefree rufus postman sqlite sqlitebrowser youtube-dl ffmpeg microsoft-teams mingw avidemux hwinfo.install potplayer audacity cdburnerxp golang pycharm-community openjdk
:: 將 Choco GUI 的 VMware 釘選
:: 重啟 PS 後測試
> sqlite3 --version
> code --version
> go version
> gcc --version
:: 經測試 unxutils 需另外開一個 PowerShell 來安裝,否則會出錯
> choco install -y unxutils
:: 重啟 PS 後測試
> make --version
:: 安裝大型專案
> choco install -y androidstudio visualstudio2022community
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment