Post

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

  1. Install Windows updates
  2. Install optional updates
  3. 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 'aiac.in/pswinget' } | iex;

To see which applications are being installed, visit the aiac.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 'aiac.in/pswsl' } | iex;

3️⃣ INSTALL AND CONFIGURE UBUNTU WSL

  1. Go to My dotfiles repo and fork it.
  2. 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 for kubectl get pods
    • kl for kubectl get pods -o wide
    • ka for kubectl get pods --all-namespaces -o wide
    • p for poetry
    • v for nvim
    • 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, and yarn.
  • Manage test Kubernetes cluster by running create-cluster, delete-cluster, and reset-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.

πŸš€ Ready to get hands-on? Spin up an interactive AI or Kubernetes Sandbox at Aicademy Labs for free.

This post is licensed under CC BY 4.0 by the author.