Last active
October 28, 2024 11:59
-
-
Save ph33nx/0c663bde504c98610e2c50acbd0c9464 to your computer and use it in GitHub Desktop.
Setup development environment on Fresh Windows Installation. Run the script in powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
# C++ Build tools | |
winget install Microsoft.VisualStudio.2022.BuildTools # Select Desktop Development with C++ with Win 10/11 SDK | |
# Utils | |
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 ByteDance.CapCut | |
winget install HandBrake.HandBrake | |
winget install 9NW33J738BL0 # or emoacht.Monitorian. Monitorian to control display brightness | |
# (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