# 安装 wgc

查看 wgc 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:wgc
```

其他安装命令:

### Portable and language managers

- npm (100%):

```sh
npm install -g wgc
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:wgc
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/wgc>
- **版本:** 0.120.0
- **来源摘要:** The official CLI tool to manage the GraphQL Federation Platform Cosmo
- **主页:** <https://github.com/wundergraph/cosmo#readme>
- **仓库:** <https://github.com/wundergraph/cosmo>
- **上游文档:** <https://github.com/wundergraph/cosmo#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/wgc/-/wgc-0.120.0.tgz>
- **问题跟踪器:** <https://github.com/wundergraph/cosmo/issues>
- **发布时间:** 2026-05-18T19:36:21.750Z
- **更新:** 2026-05-18T19:36:21.750Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- wgc (cli): dist/src/index.js
- wgc (别名)

## 依赖

- @bufbuild/protobuf
- @connectrpc/connect
- @connectrpc/connect-node
- @graphql-tools/utils
- @modelcontextprotocol/sdk
- @octokit/rest
- @wundergraph/composition
- @wundergraph/cosmo-connect
- @wundergraph/cosmo-shared
- @wundergraph/protographic
- ajv
- axios
- boxen
- cli-progress
- cli-table3
- commander
- date-fns
- decompress
- dotenv
- env-ci
- env-paths
- execa
- fs-extra
- graphql
- https-proxy-agent
- inquirer
- js-yaml
- jwt-decode
- lodash-es
- log-symbols
- octokit
- open
- ora
- pathe
- picocolors
- posthog-node
- prompts
- pupa
- semver
- tar
- trieve-ts-sdk
- undici
- zod

## 构建依赖

- @types/bun
- @types/cli-progress
- @types/cli-table
- @types/decompress
- @types/env-ci
- @types/fs-extra
- @types/inquirer
- @types/js-yaml
- @types/lodash-es
- @types/node
- @types/prompts
- @types/semver
- @vitest/coverage-v8
- del-cli
- eslint
- eslint-config-unjs
- eslint-plugin-require-extensions
- tsx
- typescript
- vitest

## 安装行为

- post-install 钩子: 未定义

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 0.120.0
- 管理器更新时间: 2026-05-18
- 本地数据: ok
- 上游仓库: https://github.com/wundergraph/cosmo
- info: No cached GitHub release or tag data was available.

## 安全说明

没有找到 wgc 的匹配本地 radioisotope manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 相关链接

- [instant-cli](https://www.automicvault.com/pkg/npm/instant-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: boxen, commander, dotenv, env, env-paths.
- [@graphql-mesh/compose-cli](https://www.automicvault.com/pkg/npm/graphql-mesh-compose-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: commander, composition, dotenv, extra, graphql.
- [cubejs-cli](https://www.automicvault.com/pkg/npm/cubejs-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli-progress, commander, dotenv, extra, fs-extra.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/)

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
