Skip to main content

Prerequisites

The following will be assumed throughout the site.

*nix command line

Similar things will likely work in cmd or PowerShell on Windows, but all of the examples will be given in Bash. If you're using Windows, we recommend installing Git Bash via Git for Windows.

If you're not comfortable with using a command line interface (CLI) like npm or git, check out a tutorial, e.g.:

Node.js v18+ and npm v8+

This guide assumes you have Node.js and npm installed already. With Node.js v16 reaching end-of-life (as of 2023-09-11), this guide is focusing explicitly on v18+. Given the default versions of npm that shipped with corresponding Node.js versions:

Node.jsnpmComments
18.0.08.6.0N/A
18.12.08.19.2first "Hydrogen" LTS release
18.14.09.3.1first release with npm v9
18.19.010.2.3first release with npm v10
20.0.09.6.4N/A
20.7.010.1.0first release with npm v10
20.9.010.1.0first "Iron" LTS release

we'll cover npm v8+; npm v7 and below won't be included (except for occasional historical context). You can check your current version with the --version/-v flag to the npm command:

$ npm --version 
9.6.7