diff options
author | 2021-07-30 23:15:24 -0700 | |
---|---|---|
committer | 2021-07-30 23:15:24 -0700 | |
commit | 289450fce6da0f6c8cc395bc6245c31963fd3f81 (patch) | |
tree | 4d356aa3f41934146adf70e966b32db207e93063 /docs/src | |
parent | ee95351ee83242e47957d9d278224fd0b5eec4e7 (diff) | |
download | astro-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.md | 15 |
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 |