#10303: Docs: fix docs:dev script to use pnpm dlx
stale
## Summary
- Fixed `docs:dev` script failing with "mint: command not found"
- Changed to use `pnpm dlx mintlify dev` instead of bare `mint dev`
- Matches the pattern used in `docs:build` script
## Problem
The `docs:dev` script was calling `mint dev` directly, which required `mintlify` to be globally installed. This caused the command to fail for users without global installation.
## Solution
Use `pnpm dlx mintlify dev` which automatically downloads and runs mintlify without requiring global installation, consistent with the `docs:build` script pattern.
## Test plan
- [x] Verified `pnpm docs:dev` now works without global mintlify installation
- [x] Confirmed the script downloads mintlify via `pnpm dlx` and starts the dev server
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
- Updates the root `package.json` `docs:dev` script to run Mintlify via `pnpm dlx`, removing the need for a global `mint/mintlify` install.
- Aligns `docs:dev` invocation style with the existing `docs:build` script that already uses `pnpm dlx`.
- Change is isolated to npm scripts and does not affect runtime code paths outside the docs workflow.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with minimal risk.
- Single-line change to an npm script; aligns with existing docs tooling pattern and does not touch production code paths.
- No files require special attention
<!-- greptile_other_comments_section -->
<sub>(3/5) Reply to the agent's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#23762: docs: fix markdown formatting and structure issues
by jainilDesai · 2026-02-22
74.9%
#7210: docs: cleanup citation artifacts and update twitter URLs to X
by hongxuWei · 2026-02-02
74.7%
#6235: fix: from source development command
by witcxc · 2026-02-01
74.1%
#23757: docs: replace outdated legacy names and paths
by jainilDesai · 2026-02-22
73.8%
#19307: docs: add Google (Gemini) provider documentation
by manueltarouca · 2026-02-17
73.4%
#3973: fix: enhance npm package integrity checks and include critical files
by YeSuX · 2026-01-29
73.4%
#11415: Update package.json metadata for npm discoverability
by PythonUser42 · 2026-02-07
73.3%
#3006: fix(scripts): use local pnpm binary in run-node.mjs if global is mi...
by elliotsecops · 2026-01-27
72.9%
#10894: Docs: fix legacy branding, add config reference, expand cron troubl...
by biv0711 · 2026-02-07
72.8%
#13176: fix: resolve llm-task module import for global installs
by striking · 2026-02-10
72.8%