Skip to content
Closed
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
30 changes: 29 additions & 1 deletion installation.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Install the CLI"
description: "Install the Mintlify CLI to preview documentation locally, test changes in real time, and catch build errors before deploying to production."
keywords: ["CLI", "npm", "local development", "Node.js", "pnpm", "mint dev", "broken links", "accessibility"]
keywords: ["CLI", "npm", "local development", "Node.js", "pnpm", "mint dev", "broken links", "accessibility", "mint login", "mint logout", "mint status", "authentication"]
---

<img
Expand Down Expand Up @@ -177,6 +177,34 @@ If this `mint update` command is not available on your local version, re-install
```
</CodeGroup>

## Authentication

Authenticate with your Mintlify account to use CLI features that require access to your project, such as analytics.

### Log in

```bash
mint login
```

This command opens your browser to authenticate with Mintlify. After you authorize in the browser, the CLI receives your credentials automatically. If the browser doesn't open, the CLI displays a URL you can copy and a prompt where you can paste the authorization code manually.

### Check authentication status

View the account and organization associated with your current session:

```bash
mint status
```

### Log out

Remove your stored credentials:

```bash
mint logout
```

## Additional commands

### Find broken links
Expand Down
Loading