Search code examples
polymerpolymer-2.x

What is the easiest way to setup my mac to do polymer component development?


Is there a a simple way to setup a development environment to do polymer component development via the polymer-cli?


Solution

  • Step 1 - Install XCode

    Step 2 - Install Homebrew

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    

    Step 3 - Install bower and node

    brew install bower
    

    Step 4 - Install the polymer command line

    npm install -g polymer-cli
    

    Step 5 - Verify the polymer command line is installed

    polymer help
    

    Additional - This allows for homebrew to keep the tools up to date

    brew update
    brew upgrade
    npm update -g polymer-cli