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

# CLI

> archetypeコマンドをインストールして、ターミナルでエージェントと話します。

## インストール

```bash theme={null}
curl -fsSL https://archetype.ing/install.sh | sh
```

各システム向けの実行ファイルは、[ダウンロードページ](https://archetype.ing/download/#cli)にもあります。

## 始める

```bash theme={null}
cd ~/your/project
archetype                       # a new conversation in this folder
archetype -c                    # the conversation you talked in last
archetype --session release     # open or make the conversation "release"
archetype --prompt "Summarize what changed this week"   # one request, the answer printed
```

エージェントはファイルを読みます。ファイルを編集したりコマンドを実行したりする前には、確認を求めます。`archetype --edit`を使うと、その会話ではファイルの編集とコマンドの実行ができます。すべての会話のモードは、**Shift+Tab**または`/permissions`で変更します（[承認](https://docs.archetype.ing/ja/use/approvals.md)を参照）。

## 動かし続ける

```bash theme={null}
archetype daemon install   # the background service, for chat channels and schedules
archetype update           # the latest release
archetype --doctor         # check config, model, keys and records
```

すべてのコマンドは[CLIリファレンス](https://docs.archetype.ing/ja/reference/cli.md)にあります。


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