As a beginner of node.js, NodeJS npm failed to install bower under windows environment. how do you solve it?

  node.js, question

As a beginner of node.js, according to the online installation tutorial, installing bower with npm failed. How do you solve it? The installation tutorial refers to

If installedgit, then usegitOwngit bashBe your command line tool,npm install -g bower

WindowscmdIt is not functional and is not recommended. This is probably the reason.