From 9fecf4b2f73c1f6c78c69846c568bb7d69d3919a Mon Sep 17 00:00:00 2001 From: robbix1206 Date: Sat, 16 Sep 2017 14:03:09 +0200 Subject: [PATCH 1/3] Add npx command for node version 8.2.0 and later --- docs/tutorial/quick-start.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/tutorial/quick-start.md b/docs/tutorial/quick-start.md index a641a0d0c756..c4e136c0f8b1 100644 --- a/docs/tutorial/quick-start.md +++ b/docs/tutorial/quick-start.md @@ -175,6 +175,12 @@ electron . If you've installed it locally, then run: +### Node v8.2.0 and later + +``` +$ npx electron . +``` + #### macOS / Linux ```bash From 564ca27679dcd5b1da62693026c1e444547a3d89 Mon Sep 17 00:00:00 2001 From: robbix1206 Date: Sat, 16 Sep 2017 14:09:31 +0200 Subject: [PATCH 2/3] Forget a # --- docs/tutorial/quick-start.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/quick-start.md b/docs/tutorial/quick-start.md index c4e136c0f8b1..c958843b2f4a 100644 --- a/docs/tutorial/quick-start.md +++ b/docs/tutorial/quick-start.md @@ -175,7 +175,7 @@ electron . If you've installed it locally, then run: -### Node v8.2.0 and later +#### Node v8.2.0 and later ``` $ npx electron . From 0bcc5d37ab5c535230b51e29e8aa6da6313bae47 Mon Sep 17 00:00:00 2001 From: robbix1206 Date: Sat, 16 Sep 2017 15:37:26 +0200 Subject: [PATCH 3/3] Put npx as last option --- docs/tutorial/quick-start.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/tutorial/quick-start.md b/docs/tutorial/quick-start.md index c958843b2f4a..835a75a9775f 100644 --- a/docs/tutorial/quick-start.md +++ b/docs/tutorial/quick-start.md @@ -175,12 +175,6 @@ electron . If you've installed it locally, then run: -#### Node v8.2.0 and later - -``` -$ npx electron . -``` - #### macOS / Linux ```bash @@ -193,6 +187,12 @@ $ ./node_modules/.bin/electron . $ .\node_modules\.bin\electron . ``` +#### Node v8.2.0 and later + +``` +$ npx electron . +``` + ### Manually Downloaded Electron Binary If you downloaded Electron manually, you can also use the included