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 firstname.lastname@example.org added 81 packages in 14.406
Successfully added the packages but when I run command
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.