From d7f24158a9523a077072350c16368e66b713effe Mon Sep 17 00:00:00 2001 From: Michael Macaulay <56690114+MichaelMacaulay@users.noreply.github.com> Date: Mon, 16 Oct 2023 14:41:08 -0500 Subject: [PATCH 1/2] Fixing CLI snippet --- website/pages/en/quick-start.mdx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/website/pages/en/quick-start.mdx b/website/pages/en/quick-start.mdx index 123caf840497..e47bcb249b8f 100644 --- a/website/pages/en/quick-start.mdx +++ b/website/pages/en/quick-start.mdx @@ -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 From 4c46e2a4d430eb642e08dde1226101b8969a3c6d Mon Sep 17 00:00:00 2001 From: Michael Macaulay <56690114+MichaelMacaulay@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:16:04 -0500 Subject: [PATCH 2/2] adding colons --- website/pages/en/quick-start.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/pages/en/quick-start.mdx b/website/pages/en/quick-start.mdx index e47bcb249b8f..c5211da0768a 100644 --- a/website/pages/en/quick-start.mdx +++ b/website/pages/en/quick-start.mdx @@ -24,13 +24,13 @@ 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/) +Using [npm](https://www.npmjs.com/): ```sh npm install -g @graphprotocol/graph-cli ``` -Using [yarn](https://yarnpkg.com/) +Using [yarn](https://yarnpkg.com/): ```sh yarn global add @graphprotocol/graph-cli