Skip to content

Instantly share code, notes, and snippets.

@ph33nx
Last active May 20, 2024 12:45
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 -e --id Git.Git
winget install -e --id GitHub.GitLFS
winget install -e --id Microsoft.VisualStudioCode
winget install -e --id OpenJS.NodeJS.LTS # NodeJS LTS
winget install -e --id Python.Python.3.10 # Python 3.10
winget install -e --id Microsoft.DotNet.SDK.8 # DotNet 8
winget install -e --id GoLang.Go # Go
winget install -e --id Github.GithubDesktop
winget install -e --id Microsoft.PowerToys
winget install -e --id Docker.DockerDesktop
winget install -e --id MongoDB.Server
winget install -e --id MongoDB.Compass.Community
winget install -e --id TailwindLabs.TailwindCSS
winget install -e --id DBBrowserForSQLite.DBBrowserForSQLite
winget install -e --id Gyan.FFmpeg
winget install -e --id Iterate.Cyberduck
winget install -e --id Ollama.Ollama
# (Optional)
winget install -e --id 7zip.7zip
winget install -e --id Nvidia.GeForceExperience
winget install -e --id Nvidia.CUDA --version 12.1 # 12.1 supported by pytorch: https://pytorch.org/get-started/locally/
winget install -e --id Logitech.GHUB
winget install -e --id Discord.Discord
winget install -e --id Mozilla.Firefox
winget install -e --id Mozilla.Thunderbird
winget install -e --id Audacity.Audacity
winget install -e --id VideoLAN.VLC
winget install -e --id NordSecurity.NordVPN
winget install -e --id Google.Chrome
winget install -e --id GIMP.GIMP
winget install 9PP9GZM2GN26 # Intel Unison from MS Store
winget install -e --id VMware.WorkstationPlayer
winget install -e --id TheDocumentFoundation.LibreOffice
winget install -e --id Apple.iTunes
winget install -e --id calibre.calibre
winget install -e --id NordSecurity.NordVPN
winget install -e --id qBittorrent.qBittorrent
winget install -e --id OBSProject.OBSStudio
winget install -e --id AnyDeskSoftwareGmbH.AnyDesk
winget install -e --id ByteDance.CapCut
winget install -e --id HandBrake.HandBrake
# (Optional) Games
winget install -e --id EpicGames.EpicGamesLauncher
winget install -e --id Valve.Steam
winget install -e --id RiotGames.Valorant.AP
# 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 "Don't forget to set up WSL (Windows Subsystem for Linux) and Redis for your development environment." # Redis Notice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment