Last active
January 5, 2024 08:25
-
-
Save Tiberriver256/80d033ab28a7aa237f513c9448b1c788 to your computer and use it in GitHub Desktop.
My personal development environment configuration
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
# Configure Windows | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
Update-ExecutionPolicy Unrestricted | |
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | |
Install-Module -Name Get-ChildItemColor,posh-git,terminal-icons -Force | |
## Git | |
winget install -e --accept-source-agreements --silent --accept-package-agreements --id Git.Git | |
# Powerline Fonts | |
git clone https://github.com/powerline/fonts.git | |
cd fonts | |
.\install.ps1 | |
cd .. | |
del .\fonts\ -Force -Recurse | |
winget install --accept-source-agreements --silent --accept-package-agreements -e --id JanDeDobbeleer.OhMyPosh -s winget | |
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Insomnia.Insomnia | |
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Postman.Postman | |
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Telerik.Fiddler.Classic | |
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.AzureDataStudio | |
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.Azure.StorageExplorer | |
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.AzureCLI | |
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.SQLServerManagementStudio | |
choco install -y sql-server-express | |
## Node, npm | |
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Volta.Volta | |
choco install -y cascadia-code-nerd-font | |
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") | |
volta install node | |
## Editors | |
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.VisualStudioCode | |
## Visual Studio 2022 | |
if((Get-WmiObject -Class Win32_ComputerSystem).PartOfDomain){ | |
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.VisualStudio.2022.Professional | |
} else { | |
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.VisualStudio.2022.Community | |
} | |
# Productivity Tools | |
winget install --accept-source-agreements --silent --accept-package-agreements -e --id SlackTechnologies.Slack | |
# Git settings | |
git config --global --add --bool push.autoSetupRemote true | |
if (Test-PendingReboot) { Invoke-Reboot } | |
## Manual Steps | |
# 1. Install WAU https://github.com/Romanitho/Winget-AutoUpdate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment