Windows 11 Setup - Clean & Minimal
This blog will help you to configure your Windows 11 and WSL without having to manually do a lot of things. We have scripts for setting Windows 11 and WSL. Please follow the document.
Windows 11 Setup - Clean & Minimal
RESOURCES
GETTING STARTED
🧪 This is tested in Windows 10, 11, Ubuntu 20.04 and higher versions 🙌
1️⃣ INSTALL PREREQUISITES
- Install Windows updates
- Install optional updates
- Install Powershell from Microsoft Store.
2️⃣ CONFIGURE WINDOWS 10/11
🧑💻 Step A & B will be installing everything for you needed in Windows. Just follow below 2 commands!
🅰️ INSTALL WINDOWS APPS
Launch Powershell Core as Administrator and run the below command:
1
. { iwr -useb 'decr.in/pswinget' } | iex;
To see which applications are being installed, visit the decr.in/pswinget script. If you want to install more apps, you can go to winget.run and copy the command to install the application you want to install.
🅱️ INSTALL WINDOWS SUBSYSTEM FOR LINUX (WSL)
Launch Windows Powershell as Administrator and run the below command:
1
. { iwr -useb 'decr.in/pswsl' } | iex;
3️⃣ INSTALL AND CONFIGURE UBUNTU WSL
- Go to My dotfiles repo and fork it.
- Change reference to my repo in below command with yours. Run the below commands:
1
2
3
4
sudo apt update && sudo apt upgrade -y && sudo apt install git -y
git clone https://github.com/devcrypted/dotfiles.git "$HOME/dotfiles"
cd "$HOME/dotfiles"
chmod +x installer.sh && /bin/bash installer.sh
CORE FEATURES THIS SETUP IS BRINGING
- Preconfigured aliases for many commands like:
-
ks
forkubectl get pods
-
kl
forkubectl get pods -o wide
-
ka
forkubectl get pods --all-namespaces -o wide
-
p
forpoetry
-
v
fornvim
- Read .zshrc for more shortcuts.
-
- Auto completion for many of tools like
git
,ansible
,asdf
,aws
,azure
,bun
,cp
,dnf
,docker
,docker-compose
,gh
,git
,golang
,helm
,httpie
,istioctl
,kind
,kubectl
,kubectx
,minikube
,mongocli
,npm
,nvm
,pep8
,pip
,pipenv
,poetry
,pyenv
,ssh
,tmux
,ufw
,vagrant
,virtualenv
,vscode
, andyarn
. - Manage test Kubernetes cluster by running
create-cluster
,delete-cluster
, andreset-cluster
command. Isn’t it cool 🙌? - Oh-my-zsh preinstalled.
- Windows 25 core developer and DevOps tools preinstalled.
- Linux 50+ core developer and DevOps tools preinstalled with Ansible. Checkout my Ansible playbook file.
- Stow preconfigured for managing your dotfiles using symlinks.
This post is licensed under CC BY 4.0 by the author.