]> khamidou — GitHub mirrors - electron.git/commitdiff
add npm installation instructions to README
authorMax Ogden <max@maxogden.com>
Thu, 26 Feb 2015 05:56:47 +0000 (21:56 -0800)
committerMax Ogden <max@maxogden.com>
Thu, 26 Feb 2015 05:56:47 +0000 (21:56 -0800)
README.md

index f413aea561de250c960c1ba66dcabcfa30456eb2..cbc7b40eca5d893c8b9fbdc1572f1ee5137fb150 100644 (file)
--- a/README.md
+++ b/README.md
@@ -10,6 +10,16 @@ editor](https://github.com/atom/atom).
 Prebuilt binaries of atom-shell for Linux, Windows and Mac can be found on the
 [releases](https://github.com/atom/atom-shell/releases) page.
 
+You can also use [`npm`](https://docs.npmjs.com/) to install prebuilt atom-shell binaries:
+
+```
+# install globally in your PATH
+npm install atom-shell -g
+
+# install as a development dependency
+npm install atom-shell --save-dev
+```
+
 ### Mirrors
 
 - [China Mirror](https://npm.taobao.org/mirrors/atom-shell): Improve download speeds for Chinese user.