Skip to content

Commit

Permalink
Prioritize npm over Yarn install method in the readme (#1518)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntwb authored and novemberborn committed Sep 17, 2017
1 parent 1df502d commit 03149d7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,18 @@ test(t => {

### Add AVA to your project

Install AVA globally and run it with `--init` to add AVA to your `package.json`. [Yarn](https://yarnpkg.com/) currently provides significant speed improvements over npm during the installation process. Consider [using Yarn](https://yarnpkg.com/en/docs/install) if the installation is too slow for your needs.
Install AVA globally and run it with `--init` to add AVA to your `package.json`.


```console
$ yarn global add ava
$ npm install --global ava
$ ava --init
```

If you prefer using npm:
If you prefer using Yarn:

```console
$ npm install --global ava
$ yarn global add ava
$ ava --init
```

Expand All @@ -105,13 +105,13 @@ Any arguments passed after `--init` are added as config to `package.json`.
You can also install AVA directly:

```console
$ yarn add --dev ava
$ npm install --save-dev ava
```

Alternatively using npm:
Alternatively using Yarn:

```console
$ npm install --save-dev ava
$ yarn add --dev ava
```

You'll have to configure the `test` script in your `package.json` to use `ava` (see above).
Expand Down

0 comments on commit 03149d7

Please sign in to comment.