- Enable WSL if you haven’t already
- Install Ubuntu (or preferred flavor of Linux) via the Microsoft Store.
- Install Node & Yarn
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install -y nodejs yarn
- Set your npm prefix to
~/.local
(in ~/.npmrc
) to enable sudo-less global install
- Install Netlify CLI
npm -g install netlify-cli
netlify --telemetry-disable
netlify login
- (Optionally) Install Gatsby CLI & grab a starter
npm -g install gatsby-cli
gatsby telemetry --disable
gatsby feedback --disable