From cce807eacb56ad99ca9fa30d37147f2c9534e5bc Mon Sep 17 00:00:00 2001 From: Mike Nikles <788827+mikenikles@users.noreply.github.com> Date: Sat, 23 Sep 2023 07:15:42 +0000 Subject: [PATCH] Use the curl script to install the CLI. --- src/components/Hero.jsx | 4 ++-- src/pages/index.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx index 530c9bc..33eddbd 100644 --- a/src/components/Hero.jsx +++ b/src/components/Hero.jsx @@ -14,7 +14,7 @@ const tabs = [ { name: "Migrate from The Graph", isActive: true, - code: `npm i -g @goldskycom/cli + code: `curl -fsSL https://cli.goldsky.com/install | bash goldsky login goldsky subgraph deploy your-subgraph-name/your-version --from-url `, @@ -22,7 +22,7 @@ goldsky subgraph deploy your-subgraph-name/your-version --from-url goldsky subgraph deploy my-subgraph/1.0.0`, diff --git a/src/pages/index.md b/src/pages/index.md index fc0a691..58194a1 100644 --- a/src/pages/index.md +++ b/src/pages/index.md @@ -33,7 +33,7 @@ To get started with Goldsky: 1. Create an API key on the [Settings page](https://app.goldsky.com/dashboard/settings). 1. Install the Goldsky CLI: ```shell - npm install -g @goldskycom/cli + curl -fsSL https://cli.goldsky.com/install | bash ``` 1. Log in with the API key created earlier: ```shell