|
|
# Installing tools for Windows
|
|
|
|
|
|
## Check the version of Windows
|
|
|
|
|
|
To Check the Windows 10 version and build Info along with its System Type,
|
|
|
|
|
|
* From the Windows GUI, go to Settings, System, About.
|
|
|
* You should see your System Details in the Window. ![Screenshot_2020-11-07_at_10.50.49_PM](https://gitlab.iotiot.in/newbies/coding-workspace/wikis/uploads/7088156e80d277263ebb8cd9f28e6883/Screenshot_2020-11-07_at_10.50.49_PM.png)
|
|
|
|
|
|
If your System Details are
|
|
|
|
|
|
1. Windows 10 version 1903 or higher, if Windows 10 version 1903 then with Build 18362 or higher.
|
|
|
1. Windows 10 System type: 64-bit.
|
|
|
1. Windows 10 Home or Windows 10 Pro
|
|
|
|
|
|
### If your **System meets all the above requirements**, then follow the guide below.
|
|
|
|
|
|
<details>
|
|
|
<summary>Click to see your steps!</summary>
|
|
|
|
|
|
## Installing WSL 2
|
|
|
|
|
|
1. Press `Windows key` and Search for Powershell.
|
|
|
1. Click on "Run as Administrator". A blue terminal window will open up.
|
|
|
1. Enable WSL with powershell, by running command in powershell
|
|
|
|
|
|
```powershell
|
|
|
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
|
|
|
```
|
|
|
1. Enable Virtual machine settings for WSL, by running the below command in powershell
|
|
|
|
|
|
```powershell
|
|
|
Enable-WindowsOptionalFeature -Online -FeatureName $("VirtualMachinePlatform","Microsoft-Windows-Subsystem-Linux")
|
|
|
```
|
|
|
|
|
|
This command will ask you to restart your computer. Press `y` and restart your computer.
|
|
|
1. Update to WSL version 2.
|
|
|
* Download the WSL kernel update - https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
|
|
|
* Install the update, by double clicking the `wsl_update_x64.msi` file.
|
|
|
* Press `Windows key` and Search for Powershell.
|
|
|
* Click on "Run as Administrator". A blue terminal window will open up.
|
|
|
* Set default as WSL 2, by running the command in powershell.
|
|
|
|
|
|
```powershell
|
|
|
wsl --set-default-version 2
|
|
|
```
|
|
|
1. Check if WSL is successfully installed by running command, in powershell
|
|
|
|
|
|
```powershell
|
|
|
wsl -l
|
|
|
```
|
|
|
1. After this you can close the powershell terminal window.
|
|
|
|
|
|
## Installing Docker
|
|
|
|
|
|
1. Download Docker for Desktop, by visiting the link - https://hub.docker.com/editions/community/docker-ce-desktop-windows/ and clicking "Get Docker".
|
|
|
1. Install Docker by double clicking on the `Docker Desktop Installer` file.
|
|
|
1. Installer will start installing the docker.
|
|
|
1. After the install completes, Click on close and Log out.
|
|
|
1. This will log you out of your Windows and you will have to login again.
|
|
|
1. Check if the Docker is installed by running **Docker Desktop** app.
|
|
|
1. That is it done you have successfully installed Docker.
|
|
|
|
|
|
## Installing Vscode
|
|
|
|
|
|
1. Download VScode from link - https://code.visualstudio.com/download
|
|
|
1. Install VScode by double clicking on the `VSCodeUserSetup-x64-1.50.1` file.
|
|
|
1. Open VScode.
|
|
|
1. Select Extensions and Search for Remote Development.
|
|
|
1. Install the Remote Development plugin.
|
|
|
1. Once Installed you can exit the Vscode.
|
|
|
</details>
|
|
|
|
|
|
### If your **System does not meet the above requirements**, then follow the guide below.
|
|
|
|
|
|
<details>
|
|
|
<summary>Click to see your steps!</summary>
|
|
|
</details> |
|
|
\ No newline at end of file |