---
sidebar_position: 1
title: 命令行工具 tailchat-cli
---

## 安装

```bash
npm install -g tailchat-cli@latest # 安装与更新同一命令
```

安装成功后输入`tailchat` 后返回如下

```bash
tailchat <command>

Commands:
  tailchat create [template]     创建 Tailchat 项目代码
  tailchat connect               连接到 Tailchat 节点网络
  tailchat declaration [source]  Tailchat 插件类型声明

Options:
      --version  Show version number                                   [boolean]
  -h, --help     Show help                                             [boolean]
```