I am facing some issue in the installation of truffle. I used the command
sudo npm install -g truffle
/Users/vikas/.nvm/versions/node/v9.11.2/bin/truffle ->
/Users/vikas/.nvm/versions/node/v9.11.2/lib/node_modules/truffle/build/cli.bundled.js
truffle@4.1.13 added 81 packages in 14.406
Successfully added the packages but when I run command truffle version
or any another truffle command it gives
-bash: /usr/local/bin/truffle: No such file or directory.
I am using macOS please someone help me out.