Ask coding questions

← Back to all posts
NodeJS console doesn't have Node or Npm
Deniernal354

Hello I just tried execute some commands through your web console and surprisingly I found that the console isn't loaded with Node or NPM pre-installed. I would like to know how can I install NPM and Node in my project since I need desperately need them.
Project Link: https://repl.it/@Deniernal354/valk
Thanks

Voters
DabDatBass
Deniernal354
Comments
hotnewtop
Vandesm14

As the console is only the nodejs console, you cannot execute node or npm commands. To install packages, go to thepackage installer on the repl.

DabDatBass

@Vandesm14 huh, where do I find the package installer?

Vandesm14

@DabDatBass On the repl.it sidebar there's a box icon. That's the basic package installer. If you want to utilize npm and node commands, use Ctrl+Shift+S to open up a shell.

bofadn-0

I am having the same issue but with a bash repl, when I try to run npm init, it says npm command not found