> ## Documentation Index
> Fetch the complete documentation index at: https://docs.asktable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Using AskTable via the CLI

> Install the AskTable CLI and export its skill so an AI coding assistant can drive AskTable for you.

The AskTable CLI is the official command-line tool, published as the npm package `@datamini/asktable-cli` with the command name `asktable`. It manages data sources, asks questions, and configures permissions from your terminal.

## Install

```bash theme={null}
npm i -g @datamini/asktable-cli
```

This gives you the `asktable` command. Requires Node.js 18+.

## Get the skill

The CLI ships an **Agent Skill** — a file that teaches an AI coding assistant (such as Claude Code) how to use the `asktable` command, including authentication, querying, and every command group. Export it:

```bash theme={null}
asktable get-skill
```

Drop the exported file into your assistant's skills directory, and the assistant can drive the AskTable CLI in natural language — create data sources, ask questions, configure permissions, and so on. To explore commands yourself, run `asktable --help`.

<Note>
  This "skill" is CLI usage guidance for an AI **coding assistant** — different from a [skill](/en/concepts/agent/skill) (an analysis method) attached to an agent inside AskTable. Don't confuse the two.
</Note>

## Next steps

* [Connecting Data](/en/concepts/data/connect) — learn the data source concepts
