Skip to content

This collection of distribution-agnostic shell scripts facilitates the configuration of WSL for AWS and Node.js development.

Notifications You must be signed in to change notification settings

hello-ccchen/wsl-setup-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WSL Setup Scripts

This collection of distribution-agnostic shell scripts facilitates the configuration of WSL for AWS and Node.js development.

First thing first

Assume WSL installed and enabled, you will need to re-configure everything you have in the powershell or gitbash or etc. into WSL.

Below scripts to make the process easy for you. However you'll need to setup git first.

Important:

  • All commands from this point on should be run in WSL using Microsoft Terminal
  • Ensure you have cloned this repo in your WSL environment first in order to run the script. And script should be run under the cloned repo folder.

If git is not installed yet in your WSL, you can install it via the following:

sudo apt install git -y

When you have git installed, configure it as follows to get it to work with Github, Please use Linux reference:

Automated way

Simply automate all by running the following instead.

The script below is provided in this repo. You'll have to clone/download the repo to run it properly.

sudo chmod +x ./automate-setup.sh & \
. ./automate-setup.sh

Purging the installation

If in any case you messed up the setup process, you can purge the installation items by running the following script.

sudo chmod +x ./purge-setup.sh & \
. ./purge-setup.sh

References: Common Scripts

Title Description Link
ZSH Z-Shell to powerup your Bash experience ReadMe
NVM Node Version Manager (NVM) to use multiple version of NodeJs ReadMe
AWS AWS CLI to run AWS commands from terminal ReadMe

Recommendation:

The order that we should be executing the scripts above are as follows:

ZSH > NVM > AWS

About

This collection of distribution-agnostic shell scripts facilitates the configuration of WSL for AWS and Node.js development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages