# CLI Reference

> **Section:** [Reference](https://docs.atmyapp.com/reference.md)
> **Related:** [Astro API reference](https://docs.atmyapp.com/reference/astro.md) · [Core SDK](https://docs.atmyapp.com/reference/core.md) · [Field types and options](https://docs.atmyapp.com/reference/fields.md) · [Structure SDK](https://docs.atmyapp.com/reference/structure.md)
> **Also:** [HTML version](https://docs.atmyapp.com/reference/cli) · [Docs index](https://docs.atmyapp.com/llms.txt)

---
`@atmyapp/cli` publishes the `atmyapp` binary.

## Install

```bash
npm install -g @atmyapp/cli
```

## Binary

```bash
atmyapp --help
```

## Commands

- `atmyapp use` authenticates a local workspace.
- `atmyapp init` creates starter schema and client files.
- `atmyapp migrate` compiles and uploads schema definitions.
- `atmyapp upload` uploads local files to project storage.
- `atmyapp generate` creates a placeholder file for a storage path.
- `atmyapp snapshot` works with project snapshots.

## Programmatic exports

The package exposes:

- `@atmyapp/cli`
- `@atmyapp/cli/browser`

These exports are primarily for shared implementation and tooling scenarios. Most projects should use the `atmyapp` binary.