Talk:Node.js: Difference between revisions

imported>L0b0
mNo edit summary
imported>Janat08
No edit summary
Line 70: Line 70:


--[[User:L0b0|L0b0]] ([[User talk:L0b0|talk]]) 01:16, 4 October 2021 (UTC)
--[[User:L0b0|L0b0]] ([[User talk:L0b0|talk]]) 01:16, 4 October 2021 (UTC)
Can some one add code below to npm -g install section. I don't know that there's bin directory in node modules, or a lib one. I entirely missed suggestion to take care of path since there's no code to copy.
export PATH=~/.npm-global/bin:$PATH
export NODE_PATH=~/.npm-global/lib/node_modules