Documentation
Installation, commands, and configuration for the anytext CLI.
Installation
Requires Node.js 18 or later. Install globally via npm:
npm install -g anytext-cliOr use npx to run without installing:
npx anytext-cli listAgent skill
Add anytext as a skill to your coding agent (Claude Code, Cursor, etc.):
npx skills add ruiyuwg/anytextOnce added, your agent can call anytext commands directly from its tool loop.
Commands
anytext list
List all available libraries and their topic counts.
anytext list # all libraries
anytext list react # topics for a libraryanytext read <library> <topic>
Read a specific topic. Outputs plain markdown to stdout.
anytext read react hooks
anytext read nextjs routinganytext search <query>
Search across all docs. Returns ranked results with library, topic, and token count.
anytext search "server components"anytext cache
Manage the local cache at ~/.anytext/. Manifest is cached for 24 hours; docs are cached until the manifest version changes.
anytext cache status # show cache info
anytext cache clear # clear all cached dataUpdate
Update to the latest version:
npm update -g anytext-cliCheck your current version with anytext --version.
Uninstall
Remove the CLI and clear cached data:
npm uninstall -g anytext-cli
rm -rf ~/.anytext