Installation
This guide covers all installation methods for Qommity, from the CLI tool to GitHub App integration and environment configuration.
Install the CLI
Using npm
Using yarn
Using pnpm
Using npx (no install)
System Requirements
- Node.js 18.0 or later
- Git 2.20 or later
- A valid Qommity API key
GitHub App Setup
To enable automatic deployment tracking and PR analysis, install the Qommity GitHub App on your repositories:
- 1Go to github.com/apps/qommity
- 2Click "Install" and select your organization
- 3Choose "All repositories" or select specific ones
- 4Grant the requested permissions
Required Permissions
Read access to analyze code changes
Read and write for PR comments
Read to track deployment status
Receive push and PR events
Environment Variables
Configure these environment variables in your deployment environment:
CI/CD Environment Variables
For GitHub Actions, add your API key as a repository secret:
- 1Go to your repository on GitHub
- 2Navigate to Settings > Secrets and variables > Actions
- 3Click "New repository secret"
- 4Name:
QOMMITY_API_KEY, Value: your API key
Verification
Verify your installation by running the following commands:
Check CLI Version
Expected output: @qommity/cli/1.2.3
Verify Configuration
This validates your API key and project configuration.
Test Deployment Tracking
If all commands return successfully, you are ready to start tracking deployments with Qommity.
Troubleshooting
API key not found
Ensure QOMMITY_API_KEY is set in your environment or .env file. Run 'qommity config verify' to check.
Permission denied errors
Verify the GitHub App is installed on the repository and has the required permissions.
Command not found
Ensure the CLI is installed globally and your npm/yarn global bin directory is in your PATH.
Still having issues? Contact support or check our configuration guide.