lark-cli is the official command-line tool for Lark/Feishu, maintained by the larksuite team. It wraps over 2500 Open Platform APIs into 200+ curated commands across 18 business domains, and ships 26 structured Skills so AI Agents can operate Lark features without extra glue code. It's built for individual developers scripting against Lark/Feishu, and for enterprise IT or ISV teams embedding Lark access into their own agents or platforms.
+) for quick, human- and AI-friendly operations; API commands auto-generated 1:1 from platform endpoints; raw API calls for full coverage of 2500+ endpoints.ok field), plus pretty, table, ndjson, and csv output formats for scripting and piping.--page-all, --page-limit, --page-delay flags for list endpoints, and --dry-run to preview side-effecting requests before they run.lark-cli schema inspects any API method's parameters, request body, response shape, supported identities, and required scopes.--as user / --as bot.main package (via the extension/ packages) for centralized credential storage, audit logging, and a restricted command surface, without forking the source.Use lark-cli if you need to automate Lark/Feishu actions from scripts or CI: sending messages, managing calendar events, reading or writing Docs/Sheets/Base records, or querying meetings and approvals from the terminal. It's a good fit for teams building an internal AI Agent or chatbot that needs to call Lark APIs, since the Skills and structured JSON output are designed for Agent consumption with minimal glue code.
It also suits enterprise platforms that want a single, auditable command surface over Lark's APIs instead of each team writing its own API client, using the extension/ packages to add centralized auth and logging.
It is not the right tool if you don't use Lark/Feishu at all, or if you need a GUI-first experience rather than a terminal/scripting workflow. If you need Meegle (Project) features, note those live in a separate meegle-cli repository, not here.
Requirements: Node.js (npm/npx) for the standard install; Go 1.23+ and Python 3 only if building from source.
Install from npm (recommended):
npx @larksuite/cli@latest install
Install from source:
git clone https://github.com/larksuite/cli.git
cd cli
make install
# Install CLI SKILL (required)
npx skills add larksuite/cli -y -g
Configure and use:
# 1. Configure app credentials (one-time, interactive guided setup)
lark-cli config init
# 2. Log in (--recommend auto-selects commonly used scopes)
lark-cli auth login --recommend
# 3. Start using
lark-cli calendar +agenda
For AI Agents, the setup is similar but runs config init --new and auth login in the background, extracting the authorization URL to pass to the user, then verifying with lark-cli auth status.