Last active
June 24, 2024 11:00
-
-
Save makupi/9154b77860ac125b0e2521bfc0ddcd79 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Based off of https://github.com/felixrieseberg/windows-development-environment/blob/master/boxstarter | |
# Configure Windows | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
# Create empty profile (so profile-integration scripts have something to append to) | |
if (-not (Test-Path $PROFILE)) { | |
$directory = [IO.Path]::GetDirectoryName($PROFILE) | |
if (-not (Test-Path $directory)) { | |
New-Item -ItemType Directory $directory | Out-Null | |
} | |
"# Profile" > $PROFILE | |
} | |
## Windows Features | |
cinst -y Microsoft-Hyper-V-All -source windowsFeatures | |
cinst -y Containers -source windowsfeatures | |
## No SMB1 - https://blogs.technet.microsoft.com/filecab/2016/09/16/stop-using-smb1/ | |
Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol | |
## Terminal | |
cinst -y microsoft-windows-terminal | |
cinst -y oh-my-posh | |
## Editors | |
cinst firacode -y | |
cinst vscode -y | |
choco pin add -n=vscode | |
choco pin add -n="vscode.install" | |
code --install-extension Catppuccin.catppuccin-vsc | |
code --install-extension Catppuccin.catppuccin-vsc-icons | |
code --install-extension golang.go | |
code --install-extension ms-python.python | |
code --install-extension charliermarsh.ruff | |
code --install-extension tinygo.vscode-tinygo | |
## Git | |
cinst git.install -y --params "'/NoShellIntegration /WindowsTerminalProfile /Symlinks /DefaultBranchName:main /Editor:VisualStudioCodeInsiders'" | |
# Restart PowerShell / CMDer before moving on - or run | |
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") | |
## Windows Build Tools | |
cinst -y visualstudio2022buildtools | |
if (Test-PendingReboot) { Invoke-Reboot } | |
cinst -y nvm | |
cinst -y go | |
## Python | |
cinst -y python | |
py -m ensurepip --upgrade | |
if (Test-PendingReboot) { Invoke-Reboot } | |
## Basics | |
cinst -y vlc | |
cinst -y firefox | |
cinst -y GoogleChrome | |
cinst -y 7zip.install | |
cinst -y sysinternals | |
cinst -y paint.net | |
cinst -y discord.install | |
cinst -y 1password | |
cinst -y spotify | |
cinst -y powertoys | |
cinst -y steam | |
cinst -y goggalaxy | |
if (Test-PendingReboot) { Invoke-Reboot } | |
cinst -y nvm | |
cinst -y go | |
## Python | |
cinst -y python | |
cinst -y pip | |
# Remove unwanted Store apps | |
Get-AppxPackage Facebook.Facebook | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage TuneIn.TuneInRadio | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage Microsoft.MinecraftUWP | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage Microsoft.MicrosoftSolitaireCollection | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage KeeperSecurityInc.Keeper | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage 2FE3CB00.PicsArt-PhotoStudio | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage 9E2F88E3.Twitter | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name *Twitter | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name *MarchofEmpires | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name king.com.* | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name Microsoft.3DBuilder | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name *Bing* | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name Microsoft.Office.Word | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name Microsoft.Office.PowerPoint | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name Microsoft.Office.Excel | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name DellInc.PartnerPromo | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name Microsoft.Office.OneNote | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name Microsoft.MicrosoftSolitaireCollection | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name Microsoft.SkypeApp | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name Microsoft.YourPhone | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name Microsoft.MixedReality.Portal | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name Microsoft.Microsoft3DViewer | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name SpotifyAB.SpotifyMusic | Remove-AppxPackage -ErrorAction SilentlyContinue | |
Get-AppxPackage -AllUser -Name Microsoft.MSPaint | Remove-AppxPackage -ErrorAction SilentlyContinue # Paint3D | |
if (Test-PendingReboot) { Invoke-Reboot } | |
Disable-BingSearch | |
Disable-GameBarTips | |
# Let's get Updates, too | |
Install-WindowsUpdate -acceptEula |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment