Last active
June 26, 2023 03:57
-
-
Save rohancragg/093886de1d5f23a013547fad440a59a8 to your computer and use it in GitHub Desktop.
Home Setup
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
# Windows Subsystem for Linux | |
wsl --install -d Ubuntu | |
# winget | |
# work / tools | |
winget install -s winget --id Microsoft.Powershell | |
winget install -s winget --id Git.Git | |
winget install -s winget --id 7zip.7zip | |
winget install -s winget --id Foxit.FoxitReader | |
# winget install -s winget --id Microsoft.EdgeWebView2Runtime | |
# winget install -s winget --id Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe | |
# winget install -s winget --id Microsoft.Whiteboard_8wekyb3d8bbwe | |
winget install -s winget --id Notepad++.Notepad++ | |
winget install -s winget --id WinDirStat.WinDirStat | |
winget install -s winget --id ZoomUMX | |
winget install -s winget --id Balena.Etcher | |
winget install -s winget --id WinSCP.WinSCP | |
winget install -s winget --id Microsoft.dotnet | |
winget install -s winget --id PuTTY.PuTTY | |
winget install -s winget --id Microsoft.RemoteDesktopClient | |
winget install -s winget --id Microsoft.PowerToys | |
winget install -s winget --id Microsoft.AzureCLI | |
winget install -s winget --id Microsoft.Bicep | |
winget install -s winget --id CodeSector.TeraCopy | |
winget install -s winget --id Lexikos.AutoHotkey | |
winget install -s winget --id GitHub.cli | |
winget install -s winget --id Docker.DockerDesktop | |
winget install -s winget --id KDE.KDiff3 | |
winget install -s winget --id WinMerge.WinMerge | |
winget install -s winget --id voidtools.Everything | |
winget install -s winget --id Microsoft.VisualStudio.2022.Enterprise | |
winget install -s winget --id Microsoft.VisualStudioCode | |
winget install -s winget --id Microsoft.AzureFunctionsCoreTools | |
winget install -s winget --id Microsoft.AzureDataStudio | |
winget install -s winget --id Microsoft.AzureStorageExplorer | |
winget install -s winget --id Microsoft.AzureStorageEmulator | |
winget install -s winget --id Microsoft.AzureCosmosEmulator | |
winget install -s winget --id Microsoft.azure-iot-explorer | |
winget install -s winget --id Microsoft.PowerAppsCLI | |
winget install -s winget --id Microsoft.PowerBI | |
winget install -s winget --id Microsoft.TeamMate | |
# Azure CLI extensions | |
az extension add --name azure-devops | |
az extension add --name aks-preview | |
az extension add --name azure-firewall | |
# home / hobby | |
winget install -s winget --id VideoLAN.VLC | |
winget install -s winget --id VB-Audio.Voicemeeter.Potato | |
winget install -s winget --id TIDALMusicAS.TIDAL | |
winget install -s winget --id Discord.Discord | |
winget install -s winget --id Microsoft.Skype | |
winget install -s winget --id OBSProject.OBSStudio | |
winget install -s winget --id Musescore.Musescore | |
# gaming / kids | |
winget install -s winget --id Valve.Steam | |
winget install -s winget --id EpicGames.EpicGamesLauncher | |
winget install -s winget --id Mojang.MinecraftLauncher | |
winget install -s winget --id MCreator.MCreator | |
# code club | |
winget install -s winget --id InfiniteInstant.KoduGameLab | |
winget install -s msstore --name 'Code Connection for Minecraft' | |
winget install -s winget --name 'Minecraft for Windows 10' | |
winget install -s winget --id UnityTechnologies.UnityHub | |
winget install -s winget --id UnityTechnologies.Unity.2021 | |
winget install -s winget --id MITMediaLab.Scratch.3 | |
# Powershell modules | |
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | |
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | |
Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force | |
Install-Module DockerCompletion | |
Install-Module PSReadLine | |
Install-Module posh-git -Scope CurrentUser | |
# scoop.sh | |
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh') | |
scoop install sudo | |
scoop install aria2 lessmsi innounp | |
scoop install curl grep sed less nano | |
scoop install coreutils | |
scoop install clink | |
#powershell 6 and above | |
Remove-Alias -Name ls | |
Remove-Alias -Name cat | |
Remove-Alias -Name mv | |
Remove-Alias -Name ps | |
Remove-Alias -Name pwd | |
Remove-Alias -Name rm | |
scoop bucket add extras | |
scoop bucket add versions | |
scoop bucket add Sysinternals 'https://github.com/Ash258/Scoop-Sysinternals.git' | |
scoop bucket add instrumenta https://github.com/instrumenta/scoop-instrumenta | |
scoop install go kind kubectl helm make kubectx kubens k9s | |
scoop install kubeval conftest | |
scoop install yarn | |
scoop install sysinternals | |
# NodeJS and Node Version Switcher (NVS) | |
winget install --id OpenJS.NodeJS -s winget | |
winget install --id jasongin.nvs -s winget | |
$env:NVS_HOME="$env:LOCALAPPDATA\nvs" | |
. "$env:NVS_HOME\nvs.ps1" install | |
# python dev | |
scoop install python miniconda3 | |
conda init powershell | |
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
python get-pip.py | |
# pip and other tools be later upgraded by re-running the above or running: | |
python -m pip install -U pip | |
# when running behind a corporate propxy, the following command should still work: | |
sudo pip install --upgrade --trusted-host pypi.org --trusted-host files.pythonhosted.org pip setuptools wheel | |
pip install pip-upgrade-outdated | |
pip install --upgrade | |
scoop bucket add nerd-fonts | |
sudo scoop install Delugia-Nerd-Font-Complete Cascadia-Code Meslo-NF Meslo-NF-Mono | |
winget install JanDeDobbeleer.OhMyPosh | |
# Git | |
git config --global credential.helper manager | |
git config --global credential.usehttppath true | |
git config --global credential.helperselector.selected manager | |
git config --global pull.ff true | |
git config --global alias.co checkout | |
git config --global alias.cp cherrypick | |
git config --global rebase.autostash true | |
git config --global difftool.vscode.cmd 'code --wait --diff \"$LOCAL\" \"$REMOTE\"' | |
git config --global diff.tool vscode | |
git config --global mergetool.keepBackup false | |
git config --global mergetool.vscode.cmd 'code --wait \"$MERGED\"' | |
git config --global merge.tool vscode | |
git config --global merge.conflictstyle diff3 | |
# https://git-scm.com/docs/git-config#Documentation/git-config.txt-pushautoSetupRemote | |
git config --global push.autoSetupRemote true | |
# AWS | |
winget install -s winget --id Amazon.AWSCLI | |
scoop install terraform | |
winget install Amazon.SessionManagerPlugin | |
# https://github.com/nemisj/git-removed-branches | |
npm install -g git-removed-branches | |
# vim | |
scoop install vim | |
' | |
set ff=unix | |
set cindent | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set backupdir=$TEMP | |
' | out-file ~/.vimrc -enc oem -append |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment