Skip to content

Commit

Permalink
Added yarn for installing Cerebral 2 edge
Browse files Browse the repository at this point in the history
Added simpler yarn. It's already used by default in create-react-app, so it makes sense to use it also here.
  • Loading branch information
hipertracker committed Dec 13, 2016
1 parent ec8ba3a commit c2f6b66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/docs/content/install/01_cerebral.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ title: Cerebral

## Cerebral

To install Cerebral you need to use the Node Package Manager. NPM is part of [Node](https://nodejs.org/en/), so please install that on your computer first. You should install Node version 5 or later. If you are not familiar with Node and/or Webpack it can be a good idea to start out with [the tutorial](../tutorial/01_introduction.html).
To install Cerebral you need to use the Node Package Manager. NPM is part of [Node](https://nodejs.org/en/), so please install that on your computer first. You should install Node version 5 or later. If you are not familiar with Node and/or Webpack it can be a good idea to start out with [the tutorial](../tutorial/01_introduction.html). You should also install [yarn](https://www.npmjs.com/package/yarn) (it is used instead of `npm` in the latest `create-app-react`)

`npm install -g yarn`

To install Cerebral Alpha you have to explicitly install Cerebral and its dependency:

`npm install cerebral@next function-tree@next --save --save-exact`
`yarn add cerebral@next function-tree@next`

0 comments on commit c2f6b66

Please sign in to comment.