-
Notifications
You must be signed in to change notification settings - Fork 4
Installation and Upgrades
Language: English · 简体中文
For most users, the best installation is Agent-directed: install the global lwc command once, then let LWC's idempotent AgentTarget installer configure the supported surfaces of the Agent hosts you actually use.
- macOS on x86_64 or Apple silicon;
- glibc Linux on x86_64 or aarch64;
- Windows x86_64 or ARM64 through the native release package; the shell installer requires Git Bash;
- Node.js 22 or newer when installing through npm;
- Rust and Cargo only when installing from crates.io or source.
The optional MarkItDown, AnyDoc, Grafeo, SurrealDB, and CodeGraph capabilities have separate setup and consent boundaries. The base CLI does not silently install or enable them during lwc init.
Prebuilt bottles are available for Apple silicon macOS and x86_64 Linux:
brew install JanYork/tap/lwcThe npm package downloads the matching GitHub Release binary and verifies its SHA-256 checksum:
npm install --global @i-xor/lwcThe installer verifies the selected release archive against SHA256SUMS and installs to a user-writable binary directory:
curl --proto '=https' --tlsv1.2 -fsSL https://github.com/JanYork/llm-wiki-cli/releases/latest/download/install.sh | shIt uses ~/.local/bin by default and updates an existing copy in ~/.local/bin or ~/.cargo/bin. To use another directory for this invocation:
curl --proto '=https' --tlsv1.2 -fsSL https://github.com/JanYork/llm-wiki-cli/releases/latest/download/install.sh | LWC_INSTALL_DIR="$HOME/bin" shcargo install --locked lwccargo install --locked --git https://github.com/JanYork/llm-wiki-cliFor a local checkout:
git clone https://github.com/JanYork/llm-wiki-cli.git
cd llm-wiki-cli
cargo install --locked --path .Do not assign the binary path to a shell variable for routine use. The command should be globally callable:
command -v lwc
lwc --version
lwc --helpIf command -v lwc fails after an installer reports success, add the install directory to your shell's PATH, start a new shell, and repeat the checks.
LWC can detect installed Agent hosts and install each host's officially supported MCP, Skill, Hook, Instructions, and permission surfaces:
lwc agent install --yes
lwc agent status --target all --location global--yes uses detected Agents and default global settings without an interactive prompt. It does not mean “install every possible Agent.”
Restart any Agent whose configuration is read only at startup. Complete the host's normal trust or permission review when it appears. LWC does not bypass UI-owned trust decisions.
For explicit control:
lwc agent install --target codex,claude,pi --location global --yes
lwc agent install --print-config codex
lwc agent refresh --target codex,claude,pi --location global--print-config only prints the proposed configuration. It does not write files. Install and refresh are idempotent; uninstall restores only LWC-owned state.
Do not install both the direct AgentTarget integration and the optional native package for the same Agent.
Global memory is optional but useful for stable preferences and practices that apply across projects:
lwc --scope global initRun it once. Project-specific facts still belong in project scope.
Use the same distribution channel that installed LWC:
brew update
brew upgrade lwcnpm install --global @i-xor/lwc@latestcargo install --locked --force lwcThe GitHub installer is also an updater:
curl --proto '=https' --tlsv1.2 -fsSL https://github.com/JanYork/llm-wiki-cli/releases/latest/download/install.sh | shAfter upgrading:
lwc --version
lwc agent refresh --target auto --location global
lwc agent status --target all --location globalAgent refresh updates owned integration content without duplicating entries or overwriting unrelated configuration.
- Download only from the official repository, Homebrew tap, npm package, or crates.io package named on this page.
- Release installers verify SHA-256 checksums. A checksum protects integrity; it is not publisher code signing.
- Do not copy configuration paths from a maintainer's private workstation. Use the Agent host's official conventions and LWC's registered AgentTarget adapter.
- Keep adapter credentials in the adapter's environment. Do not store secrets in LWC configuration, Wiki pages, tags, reasons, or operation history.
Next: Quick start
LWC Wiki
- Home · 首页
- Project overview · 项目简介
- Basic concepts · 基本概念
- Use cases · 应用场景
- Installation and upgrades · 安装与升级
- Quick start · 快速开始
- Persistent memory · 持久记忆体系
- Agent workflow and memory policy · Agent 工作流与主动记忆策略
- Sources and ingestion · 来源与知识整合
- Wiki pages and provenance · Wiki 页面与来源证明
- Search and context · 搜索与上下文载入
- Document knowledge graph · 文档知识图(记忆图网)
- Code graph · 代码图
- Word graph · 词图
- Tags and strong context · 标签与强上下文
- Document conversion · 文档转换
-
MCP server and
lwc_explore· MCP 服务与lwc_explore - Skills, Hooks, and Instructions · Skills、Hooks 与 Instructions
- AgentTarget installation · AgentTarget 安装与集成
- Changesets · Changeset 原子变更
- Work system · Work 任务系统
- Checkpoints and rollback · Checkpoint、恢复与回滚
- Read-only Viewer · 只读可视化界面
- Architecture overview · 总体架构
- Storage and data model · 存储与数据模型
- Retrieval and indexing · 检索与索引设计
- Graph projection and performance · 图投影与性能设计
- MCP, Hooks, and AgentTarget design · MCP、Hook 与 AgentTarget 设计
- Safety and trust boundaries · 安全模型与信任边界
- Maintenance and diagnostics · 维护与诊断
- Troubleshooting and FAQ · 故障排查与常见问题
- Migration and compatibility · 迁移与版本兼容
- Support and issue reporting · 获取帮助与问题反馈
- CLI and configuration reference · CLI 与配置参考
- JSON output and error contract · JSON 输出与错误契约
- Limits and glossary · 系统限制与术语表
- Contributing and development · 贡献与开发指南
- Testing and release process · 测试与发布流程
- Wiki style guide · Wiki 编写规范