Ensure that you have Polymer
CLI
installed in your system globally. If not, open your command
line/terminal interface and run this command:
npm install -g polymer-cli
Note: If you're an Ubuntu user, you may have to prefix the above code with sudo keyword.
After Polymer CLI installs, run this command
cd [YOUR DIRECTORY IN WHICH YOU WANT TO START YOUR PROJECT]
polymer init
You will be given 4 options. Use arrows keys to go to the 4th one i.e. starter-kit. Hit Enter key.
All the required files will be downloaded in your selected directory.
Syntax:
Polymer: Command for initiating polymer cli
Polymer init: Presents a list of templates to choose to build your element/app
npm: Initiates the Node.js Package Manager CLI interface
npm install: Installs a package
npm install -g: Installs a package globally on your system. Useful for CLI tools
Contributors
Topic Id: 9330
Example Ids: 28893
This site is not affiliated with any of the contributors.