Installing WSL - Windows Subsystem for Linux
WSL is a new feature of Windows 10 version 1607 or later which allows user to run linux tools / utilities directly on Windows 10 alongside with windows applications.
Refer below link for installation instructions for WSL and enablingWSL in vscode.
https://code.visualstudio.com/docs/remote/wsl
Prefered way is to install the linux distribution via Windows Store (in my case I used Ubuntu).
ENABLING WSL IN WINDOWS VIA POWERSHELL
Enable
-WindowsOptionalFeature
-Online
-FeatureName
Microsoft
-Windows
-Subsystem
-Linux
INSTALLING NODEJS ON WSL
We are required to install node.js separatly in WSL environment. This needs to be done as the root user by just adding sudo command before the command we need to execute.sudo
apt-get update
sudo
apt-get upgrade
We also need some basic build tools for node.js that can be done using below command.
sudo
apt-get
install
build-essential
INSTALL NVM TOOL
Installing NVM tool will provide us the ability to install and run multiple versions of node.
Above site has detailed instructions to install AWS CLI on WSL. Once installed, aws configure needs to be done.
curl -o- https:
//raw
.githubusercontent.com
/nvm-sh/nvm/v0
.35.0
/install
.sh |
bash
nvm
install
--lts
nvm use --lts
INSTALL AWS CLI ON WSL
https://docs.aws.amazon.com/cli/latest/userguide/install-bundle.htmlAbove site has detailed instructions to install AWS CLI on WSL. Once installed, aws configure needs to be done.
Comments
Post a Comment