Get Started
Installation
Install OpenQA using the one-liner script, manual installation, or Docker.
One-Line Installation (Recommended)
The fastest way to get started:
bash
1curl -fsSL https://openqa.orkajs.com/install.sh | bashThis script will:
- Check for required dependencies (Node.js, npm)
- Clone the OpenQA repository
- Install dependencies and build
- Set up the CLI globally
- Create a default configuration file
Manual Installation
If you prefer manual installation:
bash
1# Clone the repository2git clone https://github.com/Orka-Community/OpenQA.git3cd openqa4 5# Install dependencies6npm install7 8# Build the project9npm run build10 11# Create your configuration12cp .env.example .env13 14# Link the CLI globally (optional)15npm linkConfigure your LLM
Edit the .env file and add your LLM API key:
bash
1# Choose your LLM provider2LLM_PROVIDER=openai # or anthropic, ollama3 4# Add your API key5OPENAI_API_KEY=sk-your-api-key-here6# or7ANTHROPIC_API_KEY=sk-ant-your-key-hereDocker Installation
Run OpenQA in a container:
bash
1# Using docker-compose (recommended)2docker-compose up -d3 4# Or using docker directly5docker run -d \6 -p 3000:3000 \7 -e OPENAI_API_KEY=sk-your-key \8 -e SAAS_URL=https://your-app.com \9 -v openqa-data:/app/data \10 openqa/openqa:latestRequirements
| Requirement | Version | Notes |
|---|---|---|
| Node.js | ≥ 18.0.0 | LTS recommended |
| npm | ≥ 9.0.0 | Comes with Node.js |
| LLM API Key | - | OpenAI, Anthropic, or Ollama |
Verify Installation
After installation, verify everything is working:
bash
1# Check OpenQA version2openqa --version3 4# Check status5openqa status💡 Tip: If the openqa command is not found, you may need to restart your terminal or add the npm global bin to your PATH.
