Skip to content
Sam Coward edited this page Jul 25, 2013 · 27 revisions

You can install Cedar from source or using a pre-built distribution.

Quick install from source

  • Install the Xcode command line tools package (Under the Preferences tab 'Downloads') if you haven't already done so.

  • Run the following in a terminal:

      $ curl -L https://raw.github.com/pivotal/cedar/master/install.sh | bash
    

Manual install from source

This works the same as the Quick install method, but if you're paranoid about running arbitrary scripts you can follow this procedure instead:

  • Install the Xcode command line tools package (Under the Preferences tab 'Downloads') if you haven't already done so.

  • Clone the Cedar repository from github and initialize submodules:

      $ git clone https://github.com/pivotal/cedar.git && cd cedar
      $ git submodule update --init --recursive
    
  • Build and install templates:

      $ ./installCodeSnippetsAndTemplates
    
  • Restart Xcode

Installing a pre-built distribution

  • Download the most recent build from the Downloads page

  • Expand the tarball into your home directory:

      $ cd ~
      $ tar -zxvf ~/Downloads/Cedar-944ce03.tar.gz
    
  • Restart Xcode

Verifying your installation

  • Open an existing project and add a target to it
  • You should see a category for Cedar under each of the iOS and OS X sections.
  • Check out Getting Started to start using Cedar right now.

Clone this wiki locally