Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Use the curl script to install the CLI #31

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ 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 <your-subgraph-query-url>
`,
},
{
name: "Deploy your subgraph",
isActive: false,
code: `npm i -g @goldskycom/cli
code: `curl -fsSL https://cli.goldsky.com/install | bash
goldsky login
cd <your-subgraph-directory>
goldsky subgraph deploy my-subgraph/1.0.0`,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down