
Linkly AI CLI 工具
概览
Linkly AI 的命令行界面——从终端搜索本地文档。 CLI连接到Linkly AI桌面应用的MCP服务器,让你无需离开终端即可快速访问已索引的文档。 默认情况下,必须启用 MCP 服务器。CLI 通过 ~/.linkly/port 自动发现应用。或者,可以使用局域网模式(--endpoint + --token)或远程模式(--remote with 保存的 API 密钥)——详见连接模式。 所有平台的预建二进制文件可在发布页面获取。 当你只知道模糊或跨语言容器名(例如“微信”但实际路径包含 xinWeChat)时,查找文件夹候选对象。通过 --pattern 传递多个变体,使关键词在一次调用中进行 OR 匹配。输出旨在作为链接搜索的 --path-glob 来源。
概述(AI 翻译)
Linkly AI 的命令行界面——从终端搜索本地文档。
CLI连接到Linkly AI桌面应用的MCP服务器,让你无需离开终端即可快速访问已索引的文档。
先修条件
默认情况下,Linkly AI 桌面应用必须启用 MCP 服务器。CLI 通过 ~/.linkly/port 自动发现该应用。或者,可以使用 LAN 模式(--lan,使用保存的 LAN 令牌)或远程模式([--remote,并保存 API 密钥)——详见连接模式。
安装
macOS / Linux
Windows (PowerShell)
Homebrew(macOS / Linux)
货物
GitHub 发布
所有平台的预建二进制文件可在发布页面获取。
| 平台 | 档案 |
|---|---|
| macOS(苹果硅芯) | linkly-aarch64-apple-darwin.tar.gz |
| macOS(英特尔) | linkly-x86_64-apple-darwin.tar.gz |
| Linux(x86_64) | linkly-x86_64-unknown-linux-gnu.tar.gz |
| Linux(ARM64) | linkly-aarch64-unknown-linux-gnu.tar.gz |
| Windows (x64) | linkly-x86_64-pc-windows-msvc.zip |
来自源头
用途
寻找路径
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Linkly AI CLI
Search and read the documents on your computer from the terminal, or give an AI agent the same access over MCP.
What is it?
Linkly AI is a desktop app for macOS, Windows and Linux that indexes the folders you choose: PDF, Word, PowerPoint, Excel, CSV, EPUB, RTF, Markdown, text, HTML, images (OCR), audio and video (speech transcription). The index stays on your computer, and every local feature is free without an account.
linkly is its command line. It talks to the running desktop app, so there is nothing to index twice.
Use it to:
- search your files by keyword or by question, and read the result in the terminal or in scripts (
--json) - let an agent with a terminal, such as Claude Code or Codex, search your files; the official skill teaches it how
- connect any MCP client over stdio with
linkly mcp
How it differs from grep and find: it reads inside PDFs, Office files, scans and recordings, matches meaning as well as keywords, and returns outlines so an agent can read only the sections it needs.
Quick Start
-
Download the desktop app and add a folder.
-
Install the CLI (all options):
curl -sSL https://updater.linkly.ai/cli/install.sh | sh -
Search:
linkly search "quarterly report"
Prerequisites
By default, the Linkly AI desktop app must be running with MCP server enabled. The CLI automatically discovers the app via ~/.linkly/port. Alternatively, use LAN mode (--lan with a saved LAN token) or Remote mode (--remote with a saved API key) — see Connection Modes.
Installation
macOS / Linux
curl -sSL https://updater.linkly.ai/cli/install.sh | sh
Windows (PowerShell)
irm https://updater.linkly.ai/cli/install.ps1 | iex
Homebrew (macOS / Linux)
brew tap LinklyAI/tap
brew install linkly
Cargo
cargo install linkly-ai-cli
GitHub Releases
Pre-built binaries for all platforms are available on the Releases page.
| Platform | File |
|---|---|
| macOS (Apple Silicon) | linkly-aarch64-apple-darwin.tar.gz |
| macOS (Intel) | linkly-x86_64-apple-darwin.tar.gz |
| Linux (x86_64) | linkly-x86_64-unknown-linux-gnu.tar.gz |
| Linux (ARM64) | linkly-aarch64-unknown-linux-gnu.tar.gz |
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add linklyai/linkly-ai-cli