Install npm on Raspberry Pi
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.
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