Installation Guide
This guide provides detailed installation instructions for all supported platforms and deployment methods.
Installation Methods
Choose the installation method that best fits your environment:
Method | Best For | Difficulty | Features |
---|---|---|---|
Docker | Development, Testing | Easy | Quick setup, isolated |
Docker Compose | Local Development | Easy | Full stack with monitoring |
Kubernetes/Helm | Production | Medium | Scalable, enterprise-ready |
Binary | Simple deployments | Easy | Minimal dependencies |
Systemd | Linux servers | Medium | System service integration |
Quick Start
For the fastest setup, use Docker:
docker run -d \
--name cursor-exporter \
-p 8080:8080 \
-e CURSOR_API_TOKEN=your_token_here \
ghcr.io/matanbaruch/cursor-admin-api-exporter:latest
Platform Support
Operating Systems
OS | Binary | Docker | Kubernetes |
---|---|---|---|
Linux (AMD64) | ✅ | ✅ | ✅ |
Linux (ARM64) | ✅ | ✅ | ✅ |
macOS (Intel) | ✅ | ✅ | ✅ |
macOS (ARM64) | ✅ | ✅ | ✅ |
Windows | ✅ | ✅ | ✅ |
Container Platforms
Platform | Status | Notes |
---|---|---|
Docker | ✅ | Recommended |
Podman | ✅ | Compatible |
containerd | ✅ | Via Kubernetes |
CRI-O | ✅ | Via Kubernetes |
Kubernetes Distributions
Distribution | Status | Notes |
---|---|---|
Vanilla Kubernetes | ✅ | Fully supported |
Amazon EKS | ✅ | Tested |
Google GKE | ✅ | Tested |
Azure AKS | ✅ | Tested |
Red Hat OpenShift | ✅ | Compatible |
Rancher | ✅ | Compatible |
k3s | ✅ | Compatible |
MicroK8s | ✅ | Compatible |
Prerequisites
General Requirements
- API Token: Cursor Admin API token with appropriate permissions
- Network Access: Outbound HTTPS access to
api.cursor.com
- Resources: Minimal (50MB RAM, negligible CPU)
Platform-Specific Requirements
Docker
- Docker Engine 20.10+ or Docker Desktop
- 50MB available disk space
Kubernetes
- Kubernetes 1.19+
- Helm 3.0+ (for Helm installation)
- RBAC enabled cluster
Binary
- No additional dependencies
- Appropriate architecture binary
Installation Steps
1. Get API Token
Before installation, obtain your Cursor Admin API token:
- Log in to your Cursor team dashboard
- Navigate to Settings → API Keys
- Create a new API key with Admin permissions
- Copy the token for use in configuration
2. Choose Installation Method
Select your preferred installation method:
- New to containers? → Docker
- Want full monitoring stack? → Docker Compose
- Production deployment? → Kubernetes/Helm
- Simple server deployment? → Binary
- Linux system service? → Systemd
3. Configure and Deploy
Follow the specific guide for your chosen method:
- Docker Installation
- Docker Compose Installation
- Helm Installation
- Binary Installation
- Systemd Installation
4. Verify Installation
After installation, verify the exporter is working:
# Check health
curl http://localhost:8080/health
# Check metrics
curl http://localhost:8080/metrics
Next Steps
After installation:
- Configure Monitoring: Set up Prometheus and Grafana
- Set Up Alerts: Configure alerting rules
- Security Review: Implement security best practices
- Performance Tuning: Optimize for your environment
Need Help?
If you encounter issues during installation:
- Check the Troubleshooting Guide
- Review the Configuration Guide
- Search GitHub Issues
- Ask in GitHub Discussions
Choose your installation method:
- Docker - Quick and easy
- Docker Compose - Full development stack
- Kubernetes/Helm - Production deployment
- Binary - Simple and lightweight
- Systemd - Linux system service