Install npm on Raspberry Pi
JavaScript package manager for building powerful applications using modern open source code
sudo apt-get install npm
npm consists of three distinct components:
- The website to research packages, set up profiles, and manage other npm aspects.
- The CLI runs from a terminal and is the most common way to interact with npm.
- The registry is a large public database of JavaScript software and the meta-information surrounding it.
To get started with npm, create an account on the website. Fill in the form
Use the npm login command to test logging in to your new account.
npm login npm whoami
*If Two-Factor authentication is enabled use the CLI commands for the corresponding actions