Skip to content

Instantly share code, notes, and snippets.

@det-peralta
Last active November 25, 2020 21:55
Show Gist options
  • Save det-peralta/4f7b88f335dad94d5ccda8d144eb566b to your computer and use it in GitHub Desktop.
Save det-peralta/4f7b88f335dad94d5ccda8d144eb566b 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
@det-peralta
Copy link
Author

#Enable Windows Subsystem on Windows 10
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment