Last active
July 1, 2020 06:34
-
-
Save ankkho/83e2248e5fdb1135484621f3e6e3a15a to your computer and use it in GitHub Desktop.
Setup javascript development environment with a single shell script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '>>> Starting Setup!' | |
sudo apt-get update | |
echo '>>> installing git' | |
sudo apt-get install git -y | |
echo '>>> installing vs code editor' | |
sudo apt update | |
sudo apt install software-properties-common apt-transport-https wget | |
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" | |
sudo apt update | |
sudo apt install code | |
echo '>>> installing npm (node package manager)' | |
sudo apt-get install npm -y | |
echo '>>> installing nodejs' | |
npm i n -g -y | |
n latest | |
echo '>>> Your nodejs version is:' | |
node -v | |
echo '>>> installing webpack, gulp, jasmine, eslint and babel' | |
npm i webpack react react-dom jasmine eslint -g | |
sudo apt-get update | |
echo 'All done, Enjoy! :)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment