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

> ## Agent Instructions
> Use https://docs.fastino.ai/llms.txt to discover and navigate pages. Use https://docs.fastino.ai/llms-full.txt when you need the complete documentation corpus. Use https://docs.fastino.ai/openapi.json as the source of truth for customer-facing routes. For GLiDE decision inference, call POST https://api.fastino.ai/v1/systemone with model fastino/GLiDE. Start managed training (config job) with POST /v1/training/jobs using base_model. For interactive training, native JSON clients use the public operations under /v1/training/jobs and /v1/training/usage. Existing Tinker clients use tinker==0.32.0 with TINKER_BASE_URL=https://api.fastino.ai/v1/training/compat/tinker and TINKER_CREDENTIAL_CMD. Compatibility child routes are private and absent from OpenAPI. Auto Train is private access and has no public route; direct interested users to sales@fastino.ai. Do not infer undocumented routes. Read API keys from FASTINO_API_KEY and never embed credentials in code, logs, or reports.

# Fastino CLI

> 安装 Fastino CLI，并使用 API 密钥登录。

Fastino CLI 把 Fastino 带到你的终端。你可以与 Fine-Tune Agent 对话，跟踪它的运行和训练任务，并在 CI 中用脚本执行同样的步骤。

**1. 安装 CLI**

```bash theme={null}
npm install -g @fastino-ai/cli
```

你需要 Node.js 和 npm。用 `fastino --version` 检查安装。

**2. 创建 API 密钥**

在 [agent.fastino.ai/api-keys](https://agent.fastino.ai/api-keys) 创建 API 密钥。

**3. 登录**

```bash theme={null}
fastino auth login
```

在隐藏输入的提示处粘贴密钥。

**4. 检查登录**

```bash theme={null}
fastino auth status
```

显示你的团队、角色和默认项目。

## 小贴士

* 支持 macOS（arm64 和 x64）以及使用 glibc 的 Linux（arm64 和 x64）。不支持 Windows 和基于 musl 的 Linux（例如 Alpine）。不需要 Bun。
* 登录信息保存在 `~/.fastino/config.json` 中，只有你的用户可以读取。`fastino auth logout` 会删除它。
* 每个 API 密钥属于一个团队。要在多个团队中工作，请用每个团队的密钥各运行一次 `fastino auth login`，然后用 `fastino team use <team>` 切换。`fastino team list` 会列出已保存的登录。

## 后续步骤

> [card] [你的第一次运行](https://docs.fastino.ai/cn/cli/first-run.md)
>
> 在 fastino chat 中开始一次运行，回答 Fine-Tune Agent 的问题，批准计划，并调用你的模型。

> [card] [命令](https://docs.fastino.ai/cn/cli/commands.md)
>
> 用于运行、项目、训练任务、团队和计费的 Fastino CLI 命令。

> [card] [在 CI 中使用](https://docs.fastino.ai/cn/cli/ci.md)
>
> 在 CI 中使用 API 密钥、JSON 输出和退出码，用脚本执行运行。

> [card] [配置](https://docs.fastino.ai/cn/cli/configuration.md)
>
> 环境变量、自动更新和遥测。

> [card] [故障排除](https://docs.fastino.ai/cn/cli/troubleshooting.md)
>
> 解决常见错误、卸载 CLI 并获取帮助。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.