Documentation Index
Fetch the complete documentation index at: https://packmind-feat-rename-cli-packmind.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Packmind CLI is your primary tool for managing standards, commands, and skills. This guide will help you install and authenticate the CLI.Installation
One-click install (Recommended)
The easiest way to install and configure the Packmind CLI is using the one-click install available in the Packmind web interface. Where to find it:- During your first onboarding after creating an account
- Anytime in your Account Settings page
- Downloads and installs the Packmind CLI binary for your platform
- Authenticates you automatically with your Packmind account
- Sets up your PATH environment variable
Alternative: npm Package
Node.js 22 or higher required.
packmind command will be available globally.
npx (no installation required):
Alternative: Homebrew
Available on macOS and Linux.packmind command will be available globally.
Alternative: Standalone Executables
Download the appropriate pre-built executable for your platform from the GitHub Releases page. Available platforms:- Linux x64:
packmind-cli-linux-x64-{version} - Linux arm64:
packmind-cli-linux-arm64-{version} - macOS arm64:
packmind-cli-macos-arm64-{version}(signed and notarized) - Windows x64:
packmind-cli-windows-x64-{version}.exe
Authentication
The CLI requires authentication to communicate with your Packmind instance.Login Command (Recommended)
The easiest way to authenticate is using thelogin command:
- Open your browser to the Packmind login page
- After you authenticate, automatically receive credentials
- Store credentials securely in
~/.packmind/credentials.json
Verify Authentication
Check your current authentication status:- Your API key (masked)
- Connected host
- Organization name
- User name
- Credential expiration status
API Key Authentication (Alternative)
You can authenticate using thePACKMIND_API_KEY_V3 environment variable instead of the interactive login flow. This is the recommended approach for:
- CI/CD pipelines — Automated environments where interactive login isn’t possible
- Docker containers — Pass the API key as an environment variable
- Scripted workflows — When you need non-interactive authentication
Getting Your API Key
- Log in to your Packmind instance (Cloud or self-hosted)
- Navigate to Settings (click your profile icon in the top right)
- Scroll to the CLI Authentication section
- Go to the Environment Variable tab
- Click Generate New Key to create an API key (valid for 90 days)
- Copy the generated key
Setting the Environment Variable
Set thePACKMIND_API_KEY_V3 environment variable with your API key:
~/.bashrc, ~/.zshrc, etc.).
Next Steps
Now that you have the CLI installed and authenticated, you can create your first standards and commands:Quick Start: Run /packmind-onboard
The fastest way to get started is to use the /packmind-onboard command in your AI coding assistant. This will guide your AI agent to:
- Analyze your codebase automatically
- Identify coding patterns and conventions
- Generate standards and commands based on what it finds
- Create or select a package to organize them
Create Individual Artifacts
You can also create standards, commands, and skills individually using these commands in your AI agent:/packmind-create-standard— Create a coding standard with AI guidance/packmind-create-command— Create a reusable command workflow/packmind-create-skill— Create a custom skill for your AI agents
Learn More
- Onboarding Guide — Detailed guide on the onboarding process
- CLI Reference — Explore all available CLI commands
Need help? Run
packmind --help to see all available commands and options.