summaryrefslogtreecommitdiff
path: root/examples/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/README.md')
-rw-r--r--examples/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/README.md b/examples/README.md
index 557736ab2..e3e295b6d 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -4,7 +4,7 @@
The easiest way to check out one of these examples on your machine is by running this command in an empty directory:
```
-npm init astro --template [EXAMPLE_NAME]
+npm init astro -- --template [EXAMPLE_NAME]
```
## Community Examples
@@ -12,11 +12,11 @@ npm init astro --template [EXAMPLE_NAME]
Visit [awesome-astro](https://github.com/one-aalam/awesome-astro) for a full list of community examples. You can use `npm init astro` to check out any community examples:
```
-npm init astro --template [GITHUB_USER]/[REPO_NAME]
+npm init astro -- --template [GITHUB_USER]/[REPO_NAME]
```
Paths to examples nested inside of a repo are also supported:
```
-npm init astro --template [GITHUB_USER]/[REPO_NAME]/path/to/example
+npm init astro -- --template [GITHUB_USER]/[REPO_NAME]/path/to/example
```