/install-wsl-windows

A quick setup guide for the WSL using Ubuntu on a windows machine

MIT LicenseMIT

install-wsl-windows

A quick setup guide for the WSL using Ubuntu on a windows machine

Before You Start

Update windows by opening the start menu and searching Windows Update

Click Check for updates

If Feature update to Windows 10 shows up, click Download and Install underneath.

Extra Updates

Recordings

Links and References

  1. Chrome: https://www.google.com.au/chrome/

  2. dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

  3. dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

  4. wsl --set-default-version 2

4 b: https://docs.microsoft.com/en-gb/windows/wsl/wsl2-kernel

  1. Ubuntu: https://www.microsoft.com/store/apps/9n6svws3rx71

  2. sudo apt-get update

  3. sudo apt-get install nodejs

  4. sudo apt install npm

  5. Visual Studio Code: https://code.visualstudio.com/

  6. Visual Studio Code Extension: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack

  7. Postman: https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop

  8. This is all one command: curl "https://raw.githubusercontent.com/aar9nk/terminal-files/master/{.bashrc,.git-completion.bash,.git-prompt.sh,.profile}" -o ~/#1 && rm -f ~/.bash_profile

  9. mkdir jwd && cd jwd

  10. code .

Errors

  • Press start and type: winver

Make sure you come with the screenshot of the build number to make sure your computer is up to date!

Reach out on slack! But the most likely case is not updating your Windows and you will be sent back to the start so make sure to follow all the steps!!

Going forward

This will all become clear after our terminal and git/version control lessons, where we will highlight these issues again.

  • Do not edit or create .bash_profile even if a course says to!
  • Make any changes for your .bash_profile inside the .bashrc file instead.
  • .bashrc is now your .bash_profile! This is to allow us to use the open FILENAME command, which will open our webpages up in our chrome browser!
  • If you are editing .bashrc Make any edits right at the bottom of the file, you will see a message saying "Anything extra goes down here!"