Prerequisite You should have installed Node.js (version 18.10.0 or
higher).
apps/docs, run the local server:
http://localhost:3004.
Custom Ports
Mintlify uses port 3000 by default. We run on 3004 to avoid conflicts. You can customize with--port:
Keep the CLI updated
Update the CLI if local output diverges from production:Deployment
You should see the following if the deploy successfully went through:
Troubleshooting
Here’s how to solve some common problems when working with the CLI.Site is not loading
Site is not loading
Use Node v18+. Reinstall the CLI and try again.
No such file or directory on Windows
No such file or directory on Windows
Go to the
C:/Users/Username/.mintlify/ directory and remove the mint
folder. Then Open the Git Bash in this location and run git clone https://github.com/mintlify/mint.git.Repeat step 3.Getting an unknown error
Getting an unknown error
Try navigating to the root of your device and delete the ~/.mintlify folder.
Then run
mintlify dev again.