# 使用 npm 安装 context-mode

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

## 安装

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

其他安装命令:

### 便携式和语言管理器

- 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.169
- **来源摘要:** 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.169.tgz>
- **问题跟踪器:** <https://github.com/mksglu/context-mode/issues>
- **发布时间:** 2026-06-29T18:18:27.670Z
- **最后更新:** 2026-06-29T18:18:27.670Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- context-mode (cli)
- 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
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.0.169
- 管理器更新时间: 2026-06-29
- 本地数据: OK
- 上游仓库: https://github.com/mksglu/context-mode
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.0.169
- **Version Count:** 223
- **Maintainers:** mksglu
- **Author:** Mert Koseoğlu
- **Publisher:** mksglu
- **Engines:** Node: >=22.5.0
- **Integrity:** sha512-94JIaFuLjF9SO2BsGTrbGtyT44K95+9OC8BdbaL/UT76xOkanJLfUR5CzmNw+GELXZQqH4nBrKg9wjBnSFkVnQ==
- **Shasum:** d5aa9acc648ed420c5dd32ee5f15aa5608f09fea
- **Unpacked Size:** 4,249,752
- **File Count:** 0
- **Created At:** 2026-02-23T06:21:45.097Z
- **Latest Published At:** 2026-06-29T18:18:27.670Z
- **Modified At:** 2026-06-29T18:18:27.782Z


## 相关链接

- [MCP tool packages](https://pkg.so/zh-hans/mcp-tools/) - Matched curated package taxonomy and local package facts.
- [add-mcp](https://pkg.so/zh-hans/npm/add-mcp/) - Local package facts share a topical domain. Shared terms: ai, clack, claude, claude-code, cli.
- [exa-mcp-server](https://pkg.so/zh-hans/npm/exa-mcp-server/) - Local package facts share a topical domain. Shared terms: ai, claude, cli, context, mcp.
- [gitnexus](https://pkg.so/zh-hans/npm/gitnexus/) - Local package facts share a topical domain. Shared terms: ai, claude, cli, code, codex.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
