A quick setup guide for the WSL using Ubuntu on a windows machine
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.
-
Start here: Video 1
-
After Restart: Video 2
-
After Updates: Video 3
-
After Restart: Video 4
-
After Restart/After Errors: Video 5
-
Final Video: Video 6
-
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
-
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
-
wsl --set-default-version 2
4 b: https://docs.microsoft.com/en-gb/windows/wsl/wsl2-kernel
-
sudo apt-get update
-
sudo apt-get install nodejs
-
sudo apt install npm
-
Visual Studio Code: https://code.visualstudio.com/
-
Visual Studio Code Extension: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack
-
Postman: https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop
-
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
-
mkdir jwd && cd jwd
-
code .
- 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!!
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!"