Command-line interface for building and previewing Mintlify documentation sites. v4.2.531 requires Node >=18 (20.17+ recommended, Node 25+ unsupported). Released ~weekly by Mintlify. Differentiates from other doc tools via cloud-hosted platform with built-in analytics, search, and design; the CLI provides local preview, validation, broken link checking, accessibility checks, and OpenAPI validation.
npm install mintlifyNo compatibility data collected yet for this library.
Install globally, start a local dev server on port 3333, validate docs, and run various checks.
Use Node 20.17 or 22.x LTS. Avoid Node 25+.
Ensure you run the command in a Mintlify project root that contains a docs.json file.
Use --port to specify a free port explicitly, or check which port the server actually started on.
Use 'mintlify dev' for local preview.
Run 'mintlify update' or reinstall with 'npm i -g mintlify@latest'.
Check the exact casing of user groups in your project configuration.
Change to the correct project root that contains docs.json.
Use 'mintlify dev --port <available-port>' to specify a free port.
Install Node 20.17 or 22.x LTS via nvm or your system package manager.
Provide an absolute or correct relative path to the OpenAPI spec file.
No dependency data recorded yet.