You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

mint

Package Overview
Dependencies
Maintainers
2
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mint

The Mintlify CLI

4.2.64
latest
npmnpm
Version published
Weekly downloads
10K
21.55%
Maintainers
2
Weekly downloads
 
Created
Source
Mintlify Logo

Mint CLI

The Mint CLI is the easiest way to build Mintlify apps from the command line.

Website Tweet Discuss on Slack

Built with ❤︎ by Mintlify

Installation

Download the Mint CLI using the following command

npm i -g mint

Development

mint dev

Run this command at the root of your Mintlify project to preview changes locally.

Notes

  • mint dev requires Node v19 or higher.

Custom Ports

Mintlify uses port 3000 by default. You can use the --port flag to customize the port Mintlify runs on. For example, use this command to run in port 3333:

mint dev --port 3333

You will see an error like this if you try to run Mintlify in a port that's already taken:

Error: listen EADDRINUSE: address already in use :::3000

Troubleshooting

Steps you can take if the dev CLI is not working (After each step try to run mint dev again):

  • Make sure you are running in a folder with a docs.json file.
  • Run mint update to ensure you have the most recent version of the CLI.
  • Make sure you are using Node v19 or higher.
  • Navigate to the .mintlify folder in your home directory and delete its contents.

Additional Commands

Check for broken internal links in your Mintlify project.

mint rename <from> <to>

Rename a file in a Mintlify project and update all internal link references.

mint openapi-check <openapiFilenameOrUrl>

Check your OpenAPI file for errors. You can pass in a filename (e.g. ./openapi.yaml) or a URL (e.g. https://petstore3.swagger.io/api/v3/openapi.json).

mint update

Updates to the most recent version of the Mint CLI.

mint upgrade

Upgrade from mint.json to docs.json. This command creates a docs.json from your existing mint.json.

Get Started

Create an account to start using Mintlify for your documentation.

Keywords

mintlify

FAQs

Package last updated on 09 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.