Last active
February 5, 2022 11:28
-
-
Save andli/65fb8209ef2fbe19813d3f985f86a754 to your computer and use it in GitHub Desktop.
New workstation win10
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
# Step 0, manually: | |
# * Install new Edge | |
# * Install new Terminal from windows store | |
# "colorScheme": "One Half Dark" | |
# "fontFace": "Fira Code" | |
# * Add OneDrive work account | |
# * Add OneDrive personal account to get keepass database | |
# Get scoop | |
Set-ExecutionPolicy RemoteSigned -scope CurrentUser | |
iwr -useb get.scoop.sh | iex | |
# install git since it is required for the extras bucket | |
scoop install git | |
scoop bucket add extras | |
# Generic must-haves | |
ssh-keygen | |
New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -Value 0 -Type Dword -Force | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0 -Type Dword -Force | |
pip install virtualenv | |
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python | |
# Get mandatory apps | |
winget install JanDeDobbeleer.OhMyPosh --accept-package-agreements --accept-source-agreements | |
scoop install curl | |
Remove-Item alias:curl #remove the annoying alias that tries to do Invoke-WebRequest with IE error | |
Install-Module -Name Terminal-Icons -Repository PSGallery -Force | |
scoop install posh-git | |
Add-PoshGitToProfile -AllHosts | |
scoop install python | |
scoop install ffmpeg | |
scoop install vscode | |
# "editor.fontFace": "Fira Code", | |
# "editor.fontLigatures": true, | |
scoop bucket add java | |
scoop install corretto8 | |
# Make Explorer less retarded | |
$key = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' | |
Set-ItemProperty $key Hidden 1 | |
Set-ItemProperty $key HideFileExt 0 | |
Set-ItemProperty $key ShowSuperHidden 1 | |
Set-ItemProperty $key AutoCheckSelect 0 | |
Stop-Process -processname explorer | |
# Personal stuff | |
scoop install yed | |
scoop install keepass | |
scoop install discord | |
mkdir repos | |
### ADMIN section - Elevate to admin and run | |
Set-ExecutionPolicy RemoteSigned -scope CurrentUser -Force | |
iwr -useb get.scoop.sh | iex | |
scoop install git | |
scoop bucket add nerd-fonts | |
scoop install FiraCode-NF | |
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment