Skip to content

Instantly share code, notes, and snippets.

@attawayinc
Forked from det-peralta/install.sh
Created November 25, 2020 21:55
Show Gist options
  • Save attawayinc/fe36f8c312a2846ba1cfc756d63fe5fe to your computer and use it in GitHub Desktop.
Save attawayinc/fe36f8c312a2846ba1cfc756d63fe5fe to your computer and use it in GitHub Desktop.
Install NodeJS + GatsbyJS on Windows Subsystem
#NodeJS
sudo apt-get update
sudo apt-get -f install
sudo apt-get install curl
sudo apt-get install build-essential
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
nvm install --lts
nvm use --lts
echo "nvm use --lts" >> .bash_profile
#GatsbyJS
npm install -g gatsby-cli
gatsby new gatsby-auth gatsbyjs/gatsby-starter-hello-world
cd gatsby-auth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment