Next.js apps rely on libraries available as npm packages. To download and install these packages, you need the npm package manager, which is installed by default with Node.js.
Run the following command in a terminal or console window to check that npm is installed: