polymercommand-promptpolymer-cli

'polymer' is not recognized as an internal or external command


I recently installed nodejs, bower. Then, I installed polymer using this command:

npm install -g polymer

Then, I added the polymer install path:

C:\Users\<user>\AppData\Roaming\npm

Then, I am trying to do polymer init. I am seeing this error:

'polymer' is not recognized as an internal or external command, operable program or batch file.

Can someone please suggest what I can do to get polymer working?


Solution

  • The command line tool is called polymer-cli. Install that

    npm install -g polymer-cli