Skip to content

Instantly share code, notes, and snippets.

@rrmistry
Last active March 31, 2025 17:02
Show Gist options
  • Save rrmistry/8b2725bc5d972b5f78931875f4881211 to your computer and use it in GitHub Desktop.
Save rrmistry/8b2725bc5d972b5f78931875f4881211 to your computer and use it in GitHub Desktop.
Quick Environment Setup
# First install winget
# reference: https://docs.microsoft.com/en-us/windows/package-manager/winget/
# github release pages: https://github.com/microsoft/winget-cli/releases
# Install Git
winget install --id "Git.Git"
winget install --id "GitHub.GitLFS"
# Install Visual Studio Code
# winget install "Microsoft.VisualStudioCode.System-x64" --override "/silent /TASKS=addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath"
winget install --id "Microsoft.VisualStudioCode" --override "/silent /TASKS=addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath"
# Enable Windows Features (for containers and other tooling)
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
# Install Windows Sub-System for Linux (WSL)
# Reference: https://aka.ms/wslinstall
wsl --install
winget install --id "Canonical.Ubuntu.2204"
# Install Container Dependencies
# winget install --id "Docker.DockerDesktop" # Docker Desktop now requires license
winget install --id "RedHat.Podman"
winget install --id "RedHat.Podman-Desktop"
# Install Kubernetes tools
winget install --id "k3d.k3d"
winget install --id "Kubernetes.minikube"
winget install --id "Mirantis.Lens"
winget install --id "Derailed.k9s"
# Install Tilt: https://docs.tilt.dev/install.html
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/tilt-dev/tilt/master/scripts/install.ps1'))
# Install Azure Tools
winget install --id "Microsoft.AzureCLI"
winget install --id "Microsoft.AzureFunctionsCoreTools"
winget install --id "Microsoft.Bicep"
winget install --id "Microsoft.Azure.StorageExplorer"
winget install --id "Microsoft.AzureDataStudio" --override "/silent /TASKS=addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath"
winget install --id "Microsoft.Sqlcmd"
# Install SDKs
# winget install --id "Anaconda.Miniconda3" # Anaconda/Miniconda now requiers license
winget install --id "Python.Python.3.12"
winget install --id "Microsoft.DotNet.SDK.8"
winget install --id "Microsoft.dotnetHostingBundle" # Microsoft .NET 6 - Windows Server Hosting
winget install --id "Microsoft.dotNetFramework" # .NET Framework
winget install --id "OpenJS.NodeJS.LTS"
# winget install --id "OpenJS.NodeJS" # For latest version (with possibly breaking changes)
# Install Terminal Tools
winget install --id "Microsoft.PowerShell"
winget install --id "Microsoft.WindowsTerminal"
winget install --id "Starship.Starship"
winget install --id "Task.Task"
# Install Build Tools
winget install --id "Microsoft.VisualStudio.2022.BuildTools"
# winget install --id "Microsoft.VisualStudio.2022.Community-Preview"
# Install Chatting Tools
winget install --id "Microsoft.Teams"
winget install --id "SlackTechnologies.Slack"
winget install --id "Gitlab.Gitter"
winget install --id "WhatsApp.WhatsApp"
winget install --id "Facebook.Messenger"
# Install Drivers
winget install --id "Nvidia.GeForceExperience"
# Install Internet Browsers
winget install --id "Microsoft.Edge"
winget install --id "Mozilla.Firefox"
winget install --id "Google.Chrome"
# Install Tools
winget install --id "Microsoft.RemoteDesktopClient"
winget install --id "Graphviz.Graphviz"
winget install --id "RARLab.WinRAR"
winget install --id "NickeManarin.ScreenToGif"
winget install --id "VideoLAN.VLC"
winget install --id "JGraph.Draw"
winget install --id "WinMerge.WinMerge"
winget install --id "Postman.Postman"
winget install --id "Microsoft.PowerToys"
winget install --id "Adobe.Acrobat.Reader.64-bit"
winget install --id "Microsoft.SQLServerManagementStudio"
# Oh-My-Posh
# Reference: https://ohmyposh.dev/docs/installation/windows
winget install --id "JanDeDobbeleer.OhMyPosh" --source "winget"
# Install BI Tools
winget install --id "Microsoft.PowerBI"
winget install --id "DaxStudio.DaxStudio"
# Install Microsoft Office
winget install --id "Microsoft.Office"
# Upgrade previous winget installed packages
winget upgrade --all --disable-interactivity --accept-source-agreements --accept-package-agreements
# First install chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
refreshenv
# Install Git
choco install git -yes
refreshenv
choco install vscode powershell-core -yes
refreshenv
choco install miniconda3 -yes
refreshenv
choco install azure-data-studio microsoftazurestorageexplorer -yes
refreshenv
choco install microsoft-teams slack -yes
refreshenv
choco install terraform graphviz -yes
refreshenv
choco install audacity ffmpeg audacity-ffmpeg -yes
refreshenv
choco install dotnetcore-sdk nodejs -yes
refreshenv
choco install docker-desktop -yes
refreshenv
choco install postman paint.net winrar screentogif vlc -yes
refreshenv
# First install scoop
irm get.scoop.sh | iex
# irm = Invoke-RestMethod
# iex = Invoke-Expression
# Cloud tools
scoop install terraform
scoop install azure-functions-core-tools
scoop install tilt
scoop install k9s
sudo apt update
sudo apt upgrade
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt-get install -y build-essential procps curl file git git-lfs
git lfs install
sudo apt install python3.12
wget https://bootstrap.pypa.io/get-pip.py
python3.12 get-pip.py
alias python='/usr/bin/python3.12'
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
# Reference: https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-wsl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
nvm install --lts
# # Debugging
# command -v nvm
# nvm ls
# node --version
# npm --version
# Install Podman in WSL
# Reference: https://podman-desktop.io/docs/podman/accessing-podman-from-another-wsl-instance
# package source: https://github.com/containers/podman/releases
wget https://github.com/containers/podman/releases/download/v5.1.1/podman-remote-static-linux_amd64.tar.gz
sudo tar -C /usr/local -xzf podman-remote-static-linux_amd64.tar.gz
export PATH="$PATH:/usr/local/bin"
alias podman='podman-remote-static-linux_amd64'
podman system connection add --default podman-machine-default-root unix:///mnt/wsl/podman-sockets/podman-machine-default/podman-root.sock
sudo usermod --append --groups 10 $(whoami)
# Install k3d
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
# Install Tilt
curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/master/scripts/install.sh | bash
# Install brew
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash
# Install k9s
# # Install using brew
# brew install derailed/k9s/k9s
# Install using webi.sh
curl -sS https://webi.sh/k9s | sh
# Install Microsoft PowerShell Core
curl -sS https://webi.sh/pwsh | sh
curl -sS https://webi.sh/pwsh-essentials | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment