summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-07-30 23:15:24 -0700
committerGravatar Fred K. Schott <fkschott@gmail.com> 2021-07-30 23:15:24 -0700
commit289450fce6da0f6c8cc395bc6245c31963fd3f81 (patch)
tree4d356aa3f41934146adf70e966b32db207e93063 /docs/src
parentee95351ee83242e47957d9d278224fd0b5eec4e7 (diff)
downloadastro-289450fce6da0f6c8cc395bc6245c31963fd3f81.tar.gz
astro-289450fce6da0f6c8cc395bc6245c31963fd3f81.tar.zst
astro-289450fce6da0f6c8cc395bc6245c31963fd3f81.zip
small cleanup to installation docs
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/pages/installation.md15
1 files changed, 6 insertions, 9 deletions
diff --git a/docs/src/pages/installation.md b/docs/src/pages/installation.md
index 231c6ee4c..e41d7b417 100644
--- a/docs/src/pages/installation.md
+++ b/docs/src/pages/installation.md
@@ -29,23 +29,20 @@ yarn create astro
```bash
# Note: Replace "my-astro-project" with the name of your project.
+
# npm 6.x
npm init astro my-astro-project --template starter
-
-# npm 7+, extra double-dash is needed:
+# npm 7+ (extra double-dash is needed)
npm init astro my-astro-project -- --template starter
-
# yarn
yarn create astro my-astro-project --template starter
-
-# Import Astro project from Github
+# Using a third-party template
npm init astro my-astro-project -- --template [GITHUB_USER]/[REPO_NAME]
-
-# Import Astro from nested paths:
-npm init astro my-astro-project -- --template [GITHUB_USER]/[REPO_NAME]/path/to/example
+# Using a third-party template, inside a repo
+npm init astro my-astro-project -- --template [GITHUB_USER]/[REPO_NAME]/path/to/template
```
-After `create-astro` scaffolds out your project, you would need to install the projects dependencies. To do this, enter:
+After `create-astro` scaffolds out your project, remember to install your projects dependencies using npm or your package manager of choice. In this example, we'll use npm:
```bash
npm install