Skip to content

Commit

Permalink
Fixing CLI snippets in quick start (#526)
Browse files Browse the repository at this point in the history
* Fixing CLI snippet

* adding colons
  • Loading branch information
MichaelMacaulay authored Nov 8, 2023
1 parent 8e3e6c2 commit 9439087
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions website/pages/en/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@ The Graph CLI is written in JavaScript and you will need to have either `npm` or

On your local machine, run one of the following commands:

Using [npm](https://www.npmjs.com/):

```sh
# NPM
$ npm install -g @graphprotocol/graph-cli
npm install -g @graphprotocol/graph-cli
```

# Yarn
$ yarn global add @graphprotocol/graph-cli
Using [yarn](https://yarnpkg.com/):

```sh
yarn global add @graphprotocol/graph-cli
```

## 3. Initialize your Subgraph
Expand Down

0 comments on commit 9439087

Please sign in to comment.