> For the complete documentation index, see [llms.txt](https://awcrotwell.gitbook.io/mochi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://awcrotwell.gitbook.io/mochi/guides/authenticable/cli-installation.md).

# CLI Installation

1. Run the generator in console depending on your ORM:

   **Granite:**

   ```bash
    mochi g auth user granite
   ```

   or

   **Jennifer:**

   ```bash
    mochi g auth user jennifer
   ```
2. Migrate:

   **Granite:**

   ```bash
    amber db migrate
   ```

   or

   **Jennifer:**

   ```bash
    crystal sam.cr -- db:migrate
   ```
3. Done!
