Skip to content

Instantly share code, notes, and snippets.

@ph33nx
Last active April 4, 2025 16:41
Show Gist options
  • Save ph33nx/0c663bde504c98610e2c50acbd0c9464 to your computer and use it in GitHub Desktop.
Save ph33nx/0c663bde504c98610e2c50acbd0c9464 to your computer and use it in GitHub Desktop.
Setup development environment on Fresh Windows Installation. Run the script in powershell
# On Fresh windows installation, open powershell or terminal and run the script as following:
# powershell.exe -executionpolicy bypass -file .\fresh-windows-dev-enviroment.ps1
winget install Git.Git
winget install GitHub.GitLFS
git config --global core.autocrlf false
winget install Microsoft.VisualStudioCode
winget install OpenJS.NodeJS.LTS # NodeJS LTS
winget install Python.Python.3.12 # Python 3.12
winget install Microsoft.DotNet.SDK.8 # DotNet 8
winget install Github.GithubDesktop
winget install Microsoft.PowerToys
winget install Docker.DockerDesktop
winget install Gyan.FFmpeg
winget install Ollama.Ollama
winget install 7zip.7zip
winget install Nvidia.CUDA --version 12.4 # 12.4 supported by pytorch: https://pytorch.org/get-started/locally/
winget pin add --id Nvidia.CUDA --version 12.4 # Pin 12.4 CUDA from upgrading
# c/C++ Build tools
winget install Microsoft.VisualStudio.2022.BuildTools # Select Desktop Development with C++ with Win 10/11 SDK
winget install Kitware.CMake
# Utils
winget install GIMP.GIMP.3
winget install Logitech.GHUB
winget install Discord.Discord
winget install Mozilla.Firefox
winget install Mozilla.Thunderbird
winget install Audacity.Audacity
winget install VideoLAN.VLC
winget install TheDocumentFoundation.LibreOffice
winget install calibre.calibre
winget install NordSecurity.NordVPN
winget install qBittorrent.qBittorrent
winget install HandBrake.HandBrake
winget install Google.PlatformTools # Android Fastboot and ADB
winget install 9NW33J738BL0 # Monitorian to control display brightness
# (Optional) Games
winget install EpicGames.EpicGamesLauncher
winget install Valve.Steam
# Set classic right-click context menu on Windows 11
$registryPath1 = "HKCU:\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}"
$registryPath2 = "$registryPath1\InprocServer32"
if (-not (Test-Path $registryPath1)) {
New-Item -Path $registryPath1 -Force
}
if (-not (Test-Path $registryPath2)) {
New-Item -Path $registryPath2 -Force
}
New-ItemProperty -Path $registryPath1 -Name "(Default)" -Value "" -PropertyType String -Force
New-ItemProperty -Path $registryPath2 -Name "(Default)" -Value "" -PropertyType String -Force
Write-Host "All Done."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment