Skip to content

Instantly share code, notes, and snippets.

@ph33nx
Last active September 20, 2024 10:53
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 PostgreSQL.PostgreSQL.16
winget install PostgreSQL.pgAdmin
winget install Gyan.FFmpeg
winget install Ollama.Ollama
winget install WinSCP.WinSCP
winget install 7zip.7zip
winget install Nvidia.GeForceExperience
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
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 Opera.OperaGX
winget install TheDocumentFoundation.LibreOffice
winget install calibre.calibre
winget install NordSecurity.NordVPN
winget install qBittorrent.qBittorrent
winget install ByteDance.CapCut
winget install HandBrake.HandBrake
# (Optional) Games
winget install EpicGames.EpicGamesLauncher
winget install Valve.Steam
winget install 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