
Doing so will significantly slow down your install and build times.


Be careful not to install NodeJS or store files that you will be working with on the mounted C drive ( /mnt/c/Users/yourname$). To open this directory in Windows File Explorer, open your WSL command line, select your home directory using cd ~, then enter the command explorer.exe. Installing a Linux distribution with WSL will create a directory for storing files: \\wsl\Ubuntu-20.04 (substitute Ubuntu-20.04 with whatever Linux distribution you're using). We recommend using the Windows Subsystem for Linux when working with NodeJS apps for better performance speed, system call compatibility, and for parody when running Linux servers or Docker containers. Install Node.js on WSL 2: This includes a version manager, package manager, Visual Studio Code, and the Remote Development extension.You can check this by opening PowerShell and entering: wsl -l -v Install Windows Subsystem for Linux (WSL), including a Linux distribution (like Ubuntu) and make sure it is running in WSL 2 mode.Install the latest version of Windows 10 (Version 1903+, Build 18362+) or Windows 11.This guide assumes that you've already completed the steps to set up your Node.js development environment, including: To learn more about React and other JavaScript frameworks based on React, see the React overview page.

Gatsby also dictates how to handle data in your app (with GraphQL), whereas Next.js leaves that decision up to you. Next.js generates HTML on runtime (each time a new request comes in), requiring a server to run. A static site generator generates static HTML on build time. Gatsby.js is a static site generator framework based on React.js, as opposed to being server-rendered like Next.js. A guide to help you install the Gatsby.js web framework and get up and running on Windows.
