Installation (Windows WSL2)
Windows & WSL2 (Ubuntu) Installation Instructions
Install the Terminal app above and pin it to your taskbar.
WSL2 Ubuntu (Windows)
For more info: RTFM
In the Terminal app (PowerShell), run:
wsl --install -d UbuntuThe set up process will ask you for a username and a password. Make sure you add both, even a short password will do (this user is separate from your Windows user). You might run into issues later without a user with a password.
Check that you're running WSL2 not WSL1, run:
wsl -l -vYou should see something like:
PS C:\Users\dido> wsl -l -v NAME STATE VERSION * Ubuntu Running 2If your VERSION says
1, run:wsl --set-version Ubuntu 2Set Ubuntu as default profile for Windows Terminal 3a. Navigate to Windows Terminal's settings. 3b. Change Default profile to Ubuntu 3c. Click on Ubuntu profile on the left sidebar menu, then click Command line and change to
wsl.exe ~ -d Ubuntuif it doesn't already show something similar. 3d. Click Advanced at the bottom, click Bell notification style, and untick Audible (removes the annoying bell sound).
ZSH
Install the latest version of the Z shell:
sudo apt install zshUse zsh as your default shell:
chsh -s $(which zsh)Restart the terminal. Press "q" for "Quit and do nothing" if asked.
Install oh-my-zsh:
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git and tree
git and treeInstall the git and tree packages.
sudo apt install git treeVSCode code shortcut
code shortcutIn your terminal, run:
which codeif it shows you a path to the
codeprogram, you're good to go otherwise proceed to step 2.Launch Visual Studio Code.
Press
^ (Control) + Shift + p.In the input box type
install codeand press Enter.Try step 1 again.
Update Ubuntu Packages
RUN THIS AFTER CLASS IS OVER. DO NOT DO THIS DURING CLASS TIME.
sudo apt update && sudo apt upgradeLast updated
Was this helpful?