Installation (Windows WSL2)
Last updated
Was this helpful?
Last updated
Was this helpful?
Install the Terminal app above and pin it to your taskbar.
For more info:
In the Terminal app (PowerShell), run:
The 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:
You should see something like:
If your VERSION says 1
, run:
Set 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 Ubuntu
if 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).
Install the latest version of the Z shell:
Use zsh as your default shell:
Restart the terminal. Press "q" for "Quit and do nothing" if asked.
git
and tree
Install the git
and tree
packages.
code
shortcutIn your terminal, run:
if it shows you a path to the code
program, you're good to go otherwise proceed to step 2.
Launch Visual Studio Code.
Press ^ (Control) + Shift + p
.
In the input box type install code
and press Enter.
Try step 1 again.
RUN THIS AFTER CLASS IS OVER. DO NOT DO THIS DURING CLASS TIME.
Install :