This question already has an answer here:
followed up from previous post
I installed truffle however this is what I get
PS C:\Users\user> npm install -g truffle C:\Users\user\AppData\Roaming\npm\truffle -> C:\Users\user\AppData\Roaming\npm\node_modules\truffle\build\cli.bundled.j s + firstname.lastname@example.org updated 1 package in 3.018s
PS C:\Users\user> truffle version truffle : The term 'truffle' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + truffle version + ~~~~~~~ + CategoryInfo : ObjectNotFound: (truffle:String) , CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
I have no idea why this is happening, I could run the commands if I went to node_modules/.bin/truffle but what is conflicting the commands right now?