Documentation Index
Fetch the complete documentation index at: https://mintlify.com/buttondown/cli/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Get started with Buttondown CLI by installing it globally or using it directly with npx.Prerequisites
Before installing Buttondown CLI, ensure you have:Node.js 18 or higher
Buttondown CLI requires Node.js version 18 or higher. Check your version:If you need to install or update Node.js, visit nodejs.org
Buttondown Account
You’ll need an active Buttondown account to use the CLI
API Key
Get your API key from your Buttondown settings. You’ll need this to authenticate the CLI
Install Buttondown CLI
Choose your preferred package manager to install Buttondown CLI:The
-g flag installs the CLI globally, making the buttondown command available system-wide.Using npx (No Installation)
If you prefer not to install the CLI globally, you can use it directly with npx:Verify Installation
After installation, verify that Buttondown CLI is installed correctly:1.0.9).
You can also view all available commands:
Troubleshooting
Command Not Found
If you get a “command not found” error after global installation, your npm global bin directory may not be in your PATH.Add to your PATH
Add the output directory to your PATH in your shell configuration file (
~/.bashrc, ~/.zshrc, etc.):Permission Errors
If you encounter permission errors during installation with npm, you have a few options:- Use npx instead (no installation required)
- Fix npm permissions following the official npm guide
- Use a version manager like nvm or volta