Skip to content

Instantly share code, notes, and snippets.

@beProsto
Created October 17, 2022 17:16
Show Gist options
  • Save beProsto/db67686d6134770967af68da844bb775 to your computer and use it in GitHub Desktop.
Save beProsto/db67686d6134770967af68da844bb775 to your computer and use it in GitHub Desktop.
Just a simple windows script to get you up and running for c/cpp developement. Downloads Choco, CMake, Make, MinGW-W64, LLVM (clang, lld, etc) and Git.
# Official Chocolatey install command
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'))
# Install everything else using chocolatey
choco install make -y
choco install mingw -y
choco install git -y
choco install llvm -y
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System' -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment