WSL lets you install Linux terminal and run it within Windows. It's not 100% identical to running a dedicated Linux box, but it's super iseful and helpful for day-to-day tasks when in Windows and doens't require a VM. I run Ubuntu and Debian.
The WSL Docs will contain the latest set up and isntall steps to get Ubuntu on your machine. Personal to me I like to set up the following:
- Git
git config --global user.name = "Me"
git config --global user.email = "[email protected]"
- New SSH key:
ssh-keygen -t ed25519 -C "[email protected]"
- Oh-my-zsh
- Install zsh
- Install oh-my-zsh
- zsh autosuggestions
- zsh-syntax-highlighting
- Powershell 10k (zsh)
- rbenv
- Install
rbenv install -l
(list lasted ruby versions)rbenv global 3.1.1
- tfenv
- Install
sudo apt install unzip
tfenv install 1.1.8
tfenv use 1.1.8
notify-send is a little tool to send a notification from your terminal. Stuart Leeks has written a tool to get this working in WSL2 and sending a notification to the Windows Toast notification.
Handy for long-running processes, when I want to know if they're finished, e.g.:
terraform apply --auto-approve; notify-send "Terraform apply complete"