Using the npm package manager

npm i -g mintlify

Previewing Changes Locally

Run the following command at the root of your documentation where mint.json is located. Mintlify will open at localhost:3000.

Terminal
mintlify dev

Troubleshooting

Here’s how to solve some common problems when working with the CLI.