A command-line interface for Airtable that auto-discovers available operations from the Airtable MCP server.
npm install -g @airtable/clicurl -fsSL https://raw.githubusercontent.com/Airtable/airtable-cli/main/install.sh | shnpx @airtable/cli --helpNote: Node.js 18+ is required for all install methods.
Configure with a personal access token:
airtable configureList available tools:
airtable toolsRun a tool:
airtable <tool-name> --flag valueairtable configure Set up endpoint and personal access token
airtable tools List available tools
airtable <tool> [--flags] Run a tool
airtable <tool> --help Show help for a tool
airtable <tool> --input - Pass arguments as JSON via stdin
airtable --version Print version
You can manage multiple accounts using profiles:
airtable configure --profile work
airtable configure --profile personal
airtable tools --profile workFor complex arguments, pipe JSON via stdin:
echo '{"baseId": "appXXX", "tableIdOrName": "Tasks"}' | airtable list-records --input -airtable <tool> --output raw # Raw text output from the serverConfig is stored in ~/.airtable/cli.json. Tool definitions are cached in ~/.airtable/cache-{profile}.json (5-minute TTL).
Build:
npm install
npm run buildInstall locally as the airtable command:
npm run build
npm linkAfter npm link, the airtable binary points directly to dist/cli.js, so you only need to re-run npm run build to pick up changes — no need to re-link.
Unlink when done:
npm unlink -g @airtable/cliType-check:
npm run typecheckVersion is tracked in package.json. To cut a release:
- Bump the version in a PR:
npm version patch # or minor / major git push -u origin chore/bump-version-x.y.z gh pr create - Merge the PR.
- Push a tag matching the new version:
git checkout main && git pull git tag v0.1.1 git push origin v0.1.1
The release.yml workflow triggers on the tag push and publishes to npm via OIDC trusted publishing — no token needed.
MIT