truffle init command not found

(Divyanshu Gera) #1

I have the latest version of npm and node and have installed truffle still truffle init command is not found

0 Likes

(John Gee) #2

Hi @dgera225! You got an error trying to install to the system global package location and failed to install truffle.

Have you used nvm to install a non-system version of node yet? I think the commands are:

nvm install node
nvm use node
# then try...
npm install -g truffle

nvm home page: https://github.com/creationix/nvm

0 Likes

(system) closed #3

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

0 Likes