# 安装 context-mode

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

## 安装

```sh
sudo av install npm:context-mode
```

其他安装命令:

### Portable and language managers

- npm (100%):

```sh
npm install -g context-mode
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:context-mode
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/context-mode>
- **版本:** 1.0.151
- **来源摘要:** MCP plugin that saves 98% of your context window. Works with Claude Code, Gemini CLI, VS Code Copilot, OpenCode, and Codex CLI. Sandboxed code execution, FTS5 knowledge base, and intent-driven search.
- **主页:** <https://github.com/mksglu/context-mode#readme>
- **仓库:** <https://github.com/mksglu/context-mode>
- **上游文档:** <https://github.com/mksglu/context-mode#readme>
- **许可证:** Elastic-2.0
- **源码归档:** <https://registry.npmjs.org/context-mode/-/context-mode-1.0.151.tgz>
- **问题跟踪器:** <https://github.com/mksglu/context-mode/issues>
- **发布时间:** 2026-05-24T17:15:58.113Z
- **更新:** 2026-05-24T17:15:58.113Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- context-mode (cli): cli.bundle.mjs
- context-mode (别名)

## 依赖

- @clack/prompts
- @mixmark-io/domino
- @modelcontextprotocol/sdk
- better-sqlite3
- picocolors
- turndown
- turndown-plugin-gfm
- zod

## 构建依赖

- @types/better-sqlite3
- @types/node
- @types/turndown
- esbuild
- tsx
- typescript
- vitest

## 安装行为

- post-install 钩子: 已定义
- npm 生命周期脚本: postinstall

## 新鲜度

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

## 安全说明

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


## 相关链接

- [add-mcp](https://www.automicvault.com/pkg/npm/add-mcp/) - Local package facts share a topical domain. Shared terms: clack, claude, claude-code, code, codex.
- [@tobilu/qmd](https://www.automicvault.com/pkg/npm/tobilu-qmd/) - Local package facts share a topical domain. Shared terms: base, better, better-sqlite3, bm25, knowledge.
- [@zereight/mcp-gitlab](https://www.automicvault.com/pkg/npm/zereight-mcp-gitlab/) - Local package facts share a topical domain. Shared terms: claude, context, copilot, mcp, model.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/)

## 来源

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