@goldskycom/cli

中文文档
13.18.1发布于 2026/10/30CommonJS零依赖近 30 天下载 1.2万

The Goldsky CLI to deploy subgraphs, index & transform blockchain data, configure webhooks, and access your data in real-time.

原始使用文档

Goldsky CLI

The Goldsky (www.goldsky.com) CLI to deploy subgraphs, index & transform blockchain data, configure webhooks, and access your data in real-time.

Getting Started

Install the CLI with the following command:

curl -fsSL https://cli.goldsky.com/install | bash

For automated setup, pass -f to skip confirmation. This uses noninteractive sudo only when the installation directory requires elevation:

curl -fsSL https://cli.goldsky.com/install | bash -s -- -f

To install without sudo, create a writable directory already on your PATH and pass it as GOLDSKY_INSTALL_DIR to Bash:

mkdir -p "$HOME/.local/bin"
curl -fsSL https://cli.goldsky.com/install | GOLDSKY_INSTALL_DIR="$HOME/.local/bin" bash -s -- -f
export PATH="$HOME/.local/bin:$PATH"
goldsky --version

The goldsky.com shell entry point forwards to the same installer. Interactive installs may prompt for a sudo password; automated installs fail with guidance if elevation is unavailable.

Please refer to the documentation at docs.goldsky.com/ to learn how to:

  • Create a new account
  • Generate an API token
  • Log in to the CLI
  • Deploy your first subgraph

版本与发布记录

@goldskycom/cli 共发布 179 个版本,首次发布于 2022/08/07;过去 12 个月发布了 34 个版本。

版本发布日期距今
13.18.1latest2026/10/3017 天前
13.18.02026/10/2226 天前
13.17.22026/10/2126 天前
13.17.12026/10/1730 天前
13.17.02026/10/081 个月前
13.16.02026/10/081 个月前

其他发布通道:beta → 2.0.0-beta.1。

关于 @goldskycom/cli 的常见问题

@goldskycom/cli 是什么?

The Goldsky CLI to deploy subgraphs, index & transform blockchain data, configure webhooks, and access your data in real-time.

如何安装 @goldskycom/cli?

在项目目录运行 npm install @goldskycom/cli,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 goldsky,可以用 npx goldsky 直接运行。

@goldskycom/cli 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/goldskycom__cli 是否存在。

@goldskycom/cli 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@goldskycom/cli 可以商用吗?

@goldskycom/cli 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@goldskycom/cli 的下载量有多少?

根据 npm 官方下载统计,@goldskycom/cli 在 2026/10/17 – 2026/11/15 这 30 天内被下载 11,866 次,日均约 396 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@goldskycom/cli 还在维护吗?

最新版本 13.18.1 发布于 2026/10/30(17 天前);至今共发布 179 个版本,其中过去 12 个月发布了 34 个;首次发布于 2022/08/07。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。