본문 바로가기

Develop/NodeJS

Set the global path of Nodejs

Set below at the end of .bashrc file

# Node global path
export NODE_PATH="`npm root -g`:`yarn global dir`/node_modules"