'when i run the following commands on vs code terminal i get a bad response. I have tried all the responses i.e. create path download node.js, restart

This is the error i get. Even apt and sudo commands do not work on the cmd line or bash npm : The term 'npm' 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

  • npm install
  •   + CategoryInfo          : ObjectNotFound: (npm:String) [], CommandNo  
    tFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source