/wsl-config

Configuration for WSL development environment

Primary LanguageShell

WSL Ubuntu Development Environment

This installs and configures the components required for my local development environment running Ubuntu 22.04+ on WSL2.

Includes:

  • ansible
  • docker
  • terraform
  • zsh, ohmyzsh and powerlevel10k theme
  • git config and credential manager
  • aws cli v2

Install

  1. Install Windows Subsystem for Linux wsl --install
  2. Install Ubuntu from the Microsoft Store
  3. Install Git for Windows, ensuring to use GCM Core as the credential manager
  4. Locate git-credential-manager.exe typically /mnt/c/Users/<user>/AppData/Local/Programs/Git/mingw64/bin/git-credential-manager.exe
  5. Install your choice of Nerd Font such as FiraCode Nerd Font
  6. Launch a WSL terminal and run through first time setup
  7. Add your user to passwordless sudo using sudo visudo
  8. Customise localhost/hosts.yml
  9. Run make
  10. Profit