Install the CLI to preview and develop your docs locally
docs.json
file is located) and execute the following command:
http://localhost:3000
.
--port
flag. To run the CLI on port 3333, for instance, use this command:
mintlify dev
is the most commonly used command, there are other commands you can use to manage your documentation.
./openapi.yaml
) or a URL (e.g. https://petstore3.swagger.io/api/v3/openapi.json
).
Error: Could not load the "sharp" module using the darwin-arm64 runtime
npm remove -g mintlify
npm install -g mintlify
Issue: Encountering an unknown error
mintlify dev
again.