> ## Documentation Index
> Fetch the complete documentation index at: https://converge-enter-documentation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Understand Enter CLI

Enter CLI lets an AI agent create or update your Enter cloud projects from a terminal and return a preview link to review.

> [!NOTE]
>
> **CLI** means command-line interface: a program you control by typing commands. **enter-cli** sends requests to Enter.

## What you need first

* Node.js and npm, Node's package manager.
* Your [Enter account](https://converge-enter-documentation.mintlify.site/en/articles/sign-up-and-log-in.md), with access to the [workspace](https://converge-enter-documentation.mintlify.site/en/articles/get-to-know-your-workspace.md) you want. You don't need a separate account.

## Install the program

A **repository** is a project folder that stores source files and change history. Use the [official Enter CLI repository](https://github.com/enter-pro/CLI). Its README covers setup, and its SKILL.md is the agent workflow.

**1. Install the program**

```bash theme={null}
npm install -g @enter-pro/enter-cli
```

This adds `enter-cli`. Your terminal finds commands through **PATH**, the operating system list of folders searched for commands. You can run `enter-cli` in your terminal or ask your agent to run it.

**2. Sign in through your browser**

After installing, the CLI asks you to sign in to Enter and opens your browser. Sign in, authorize Enter CLI, then go back to your terminal or agent. That's it.

If the sign-in page doesn't open, run:

```bash theme={null}
enter-cli login
```

> [!NOTE]
>
> **Enter CLI uses your Enter credits.** Work your agent does through `enter-cli` uses the same Build and Infra credits as working in Enter. See [What are credits](https://converge-enter-documentation.mintlify.site/en/articles/what-are-credits.md).

## Terms you may see

* **Worktree:** a separate working directory for another branch.
* **Memory:** saved agent context.
* **Sub-agents:** additional agents handling delegated tasks.

## Review before publishing

A preview is for checking. Try the page before you ask the agent to [publish](https://converge-enter-documentation.mintlify.site/en/articles/publish-site.md).

* [ ] The workspace is the right one.
* [ ] The project is the right one.
* [ ] You know which changes will become public.

After publishing, ask the agent for the live address and the result. If you ask for source code, ask where it was saved and what it contains, and check it before you hand it to a developer.

## Common questions

> [accordion] Does Preview publish my project?
>
> No. Preview is for checking your project. It does not update the live site until you publish.

> [accordion] What should I confirm before publishing?
>
> Confirm the workspace, the project, and which changes will become public. Try the page in Preview before you ask the agent to publish.

> [accordion] Does a source-code handoff include everything in my project?
>
> No. Ask where the source was saved and what it contains, then check it before you hand it to a developer. Source export does not include database records or files stored in Enter Cloud.

> [accordion] Does Enter CLI use a separate credit balance?
>
> No. Work through `enter-cli` uses the same Build and Infra Credits as work in Enter.

## Keep going

> [!NOTE]
>
> **Next: [Publish your site](https://converge-enter-documentation.mintlify.site/en/articles/publish-site.md)**\
> Publish once the preview looks right.

> [card] [Sync code with GitHub](https://converge-enter-documentation.mintlify.site/en/articles/sync-code-with-github.md)
>
> Keep project code in a GitHub repository.


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