npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

truffle init command not found

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


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