Skip to content

Commit 9439087

Browse files
Fixing CLI snippets in quick start (graphprotocol#526)
* Fixing CLI snippet * adding colons
1 parent 8e3e6c2 commit 9439087

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

website/pages/en/quick-start.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,16 @@ The Graph CLI is written in JavaScript and you will need to have either `npm` or
2424

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

27+
Using [npm](https://www.npmjs.com/):
28+
2729
```sh
28-
# NPM
29-
$ npm install -g @graphprotocol/graph-cli
30+
npm install -g @graphprotocol/graph-cli
31+
```
3032

31-
# Yarn
32-
$ yarn global add @graphprotocol/graph-cli
33+
Using [yarn](https://yarnpkg.com/):
34+
35+
```sh
36+
yarn global add @graphprotocol/graph-cli
3337
```
3438

3539
## 3. Initialize your Subgraph

0 commit comments

Comments
 (0)