fix: mint CLI commands

This commit is contained in:
Piyush Gupta
2025-10-13 23:53:53 +05:30
parent f33424141b
commit 928829ac3e
3 changed files with 8 additions and 7 deletions

View File

@@ -6,10 +6,10 @@ New to Mintlify. [Start Here](https://mintlify.com/docs/quickstart)
## 👩‍💻 Development
Install the [Mintlify CLI](https://www.npmjs.com/package/mintlify) to preview the documentation changes locally. To install, use the following command
Install the [Mint CLI](https://www.npmjs.com/package/mint) to preview the documentation changes locally. To install, use the following command
```
npm i -g mintlify
npm i -g mint
```
Run the following command at the root of your documentation (where mint.json is)
@@ -20,5 +20,5 @@ mint dev
## Troubleshooting
- `mint dev` isn't running - Run `mintlify install` it'll re-install dependencies.
- `mint dev` isn't running - Run `mint update` to update the Mint CLI.
- Page loads as a 404 - Make sure you are running in a folder with `mint.json`. Check the `/docs` folder

View File

@@ -43,16 +43,16 @@ docker compose -f docker-compose.dev.yml down
We use [Mintlify](https://mintlify.com/) for our docs.
#### Install Mintlify CLI.
#### Install Mint CLI.
```bash
npm i -g mintlify
npm i -g mint
```
or
```bash
yarn global add mintlify
yarn global add mint
```
#### Running the docs

View File

@@ -26,5 +26,6 @@
"dependencies": {
"@radix-ui/react-radio-group": "^1.1.3",
"secrets.js-grempe": "^2.0.0"
}
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}