Requirements
Before installing, ensure you have:- Node.js 18.0.0 or higher
- npm, yarn, or pnpm package manager
- A Mintlify documentation project
speak-mintlify uses ES modules and requires Node.js 18+ for full compatibility.
Package manager installation
Choose your preferred package manager to install speak-mintlify:Global installation
If you want to use speak-mintlify across multiple projects, install it globally:speak-mintlify from anywhere:
Using npx (no installation)
You can run speak-mintlify without installing it usingnpx:
- One-time use or testing
- CI/CD pipelines where you want the latest version
- Avoiding dependency management
Local vs global installation
Choosing between local and global installation depends on your use case:Local installation (recommended)
Pros:- Version pinned in
package.jsonfor consistency across team - Works seamlessly with CI/CD
- Different projects can use different versions
- Part of your project’s dependency tree
- Need to use
npx speak-mintlifyor add npm scripts - Installed separately for each project
Global installation
Pros:- Run
speak-mintlifydirectly from anywhere - Single installation for all projects
- Simpler command invocation
- Version inconsistency across projects
- Team members might use different versions
- Not tracked in
package.json
Adding npm scripts
For local installations, add npm scripts to yourpackage.json for convenience:
package.json
Verifying installation
Verify speak-mintlify is installed correctly:1.1.3).
Updating speak-mintlify
Keep speak-mintlify up to date to get the latest features and bug fixes:Uninstalling
If you need to remove speak-mintlify:Next steps
Now that you have speak-mintlify installed:Quickstart
Follow the quickstart guide to generate your first audio files
Configuration
Learn how to configure voices, S3 storage, and components
