Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions cli/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
</CodeGroup>

<Note>
The CLI is published on npm as the [`mint`](https://www.npmjs.com/package/mint) package. Do not install the legacy `mintlify` package in install scripts or CI pipelines. If you have both packages installed, see [mintlify versus mint package](#troubleshooting).

Check warning on line 24 in cli/install.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

cli/install.mdx#L24

In general, use active voice instead of passive voice ('is published').
</Note>

<Visibility for="agents">
If the user asked you to set up Mintlify rather than only install the CLI, continue through authentication, project creation, preview, validation, and deployment. Follow the [agent setup workflow in the Quickstart](/quickstart#set-up-mintlify-for-the-user). Do not stop after `mint --version` succeeds.

Start by running `mint status`. Preserve an existing authenticated session. Otherwise, run `mint login` for an existing account. For a new account, create the site with `mint deploy` and hand it to the user with `mint claim`; see [Agent signup](/cli/agent-signup). Don't run `mint signup`: when an agent runs it, it only prints the [agent signup guide](https://mintlify.com/auth.md). The user approves browser-based authentication or claims the site, and you perform the remaining CLI steps.

Check warning on line 30 in cli/install.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

cli/install.mdx#L30

Use semicolons judiciously.
</Visibility>

<Tip>
Expand Down Expand Up @@ -208,16 +208,4 @@

**Solution**: Ask your IT administrator to add `releases.mintlify.com` to your network allowlist.
</Accordion>
<Accordion title="CLI connects to localhost instead of production when using npx">
In versions before `4.0.1125`, running `npx mint dev` or other commands from a docs
repository could cause the CLI to incorrectly detect itself as a local development
build. This made the CLI point to `localhost` URLs instead of the Mintlify production
API, resulting in connection errors or unexpected behavior.

**Solution**: Update to the latest CLI version:

```bash
npm i -g mint@latest
```
</Accordion>
</AccordionGroup>