From b9991f04945012b9d21680cddb8be7cae380443d Mon Sep 17 00:00:00 2001 From: Zeke Sikelianos Date: Mon, 14 Nov 2016 13:52:07 -0800 Subject: [PATCH 1/2] make npm install instructions more prominent --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 36897c4bc9d4..33cd961f683e 100644 --- a/README.md +++ b/README.md @@ -21,20 +21,20 @@ behavior to electron@github.com. ## Downloads -Prebuilt binaries and debug symbols of Electron for Linux, Windows and macOS can -be found on the [releases](https://github.com/electron/electron/releases) page. - -You can also use [`npm`](https://docs.npmjs.com/) to install prebuilt electron -binaries: +To install prebuilt Electron binaries, use +[`npm`](https://docs.npmjs.com/) (or [`yarn`](https://yarnpkg.com/)): ```sh -# Install the `electron` command globally in your $PATH -npm install electron -g - # Install as a development dependency npm install electron --save-dev + +# Install the `electron` command globally in your $PATH +npm install electron -g ``` +See the [releases page](https://github.com/electron/electron/releases) for +prebuilt binaries, debug symbols, and more. + ### Mirrors - [China](https://npm.taobao.org/mirrors/electron) From 621715e5e5c1107c1c1c850044a82318cfef30fe Mon Sep 17 00:00:00 2001 From: Zeke Sikelianos Date: Mon, 14 Nov 2016 13:57:12 -0800 Subject: [PATCH 2/2] link to more relevant yarn doc --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 33cd961f683e..74b568b18a2f 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ behavior to electron@github.com. ## Downloads To install prebuilt Electron binaries, use -[`npm`](https://docs.npmjs.com/) (or [`yarn`](https://yarnpkg.com/)): +[`npm`](https://docs.npmjs.com/) (or [`yarn`](https://yarnpkg.com/en/docs/managing-dependencies)): ```sh # Install as a development dependency