403 error while installing NPM

I am getting an error when installing NPM .I am a novice and hence need a little hand holding. Please find the list of commands and the error as given below.

C:\Windows\system32>node --version

C:\Windows\system32>npm --version

C:\Windows\system32>npm install -g -unsafe.perm node.red
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/node.red - Not found
npm ERR! 404
npm ERR! 404 'node.red@*' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\jokahelpdesk\AppData\Local\npm-cache_logs\2022-09-06T05_35_45_367Z-debug-0.log

Please help!

Check the command you are typing. -unsafe.perm is incorrect

ok so , how do i install node red after installing node.js?
What should be the command?

See Running on Windows : Node-RED
Everything you need to know should be there.

Also, the package you want to install is node-red not node.red

Thanks a lot..Followed the instructions and getting the results as given below:
C:\Windows\system32> npm install -g --unsafe-perm node-red

added 292 packages, and audited 293 packages in 42s

38 packages are looking for funding
run npm fund for details

5 vulnerabilities (4 low, 1 moderate)

To address issues that do not require attention, run:
npm audit fix

To address all issues (including breaking changes), run:
npm audit fix --force

Run npm audit for details.

...Probably the installation is not complete..!

It is complete.

Close and reopen your terminal & run node-red

Thanks everyone, its working!!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.