Skip to content

Commit

Permalink
feature: use npx to run gatsby-cli - fix gatsbyjs#100
Browse files Browse the repository at this point in the history
  • Loading branch information
marcobiedermann committed Oct 1, 2018
1 parent a33c968 commit 0257ba6
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,16 @@ _Have another more specific idea? You may want to check out our vibrant collecti

## 🚀 Quick start

1. **Install the Gatsby CLI.**

The Gatsby CLI helps you create new sites using Gatsby starters (like this one!)

```sh
# install the Gatsby CLI globally
npm install -g gatsby-cli
```

2. **Create a Gatsby site.**
1. **Create a Gatsby site.**

Use the Gatsby CLI to create a new site, specifying the default starter.

```sh
# create a new Gatsby site using the default starter
gatsby new my-default-starter
npx gatsby new my-default-starter
```

3. **Start developing.**
1. **Start developing.**

Navigate into your new site’s directory and start it up.

Expand All @@ -40,7 +31,7 @@ _Have another more specific idea? You may want to check out our vibrant collecti
gatsby develop
```

4. **Open the source code and start editing!**
1. **Open the source code and start editing!**

Your site is now running at `http://localhost:8000`!

Expand Down

0 comments on commit 0257ba6

Please sign in to comment.