Skip to main content

Quick Start

Get the LLM Platform running in 5 minutes with these simple steps.

1. Install Prerequisites​

# Check Node.js version (20+ required)
node --version

# Check PHP version (8.3+ required)
php --version

# Install DDEV
brew install ddev/ddev/ddev

2. Clone and Setup​

# Clone the repository
git clone https://github.com/bluefly/llm-platform.git
cd llm-platform

# Install global CLI tools
npm install -g @bluefly/tddai @bluefly/llmcli

3. Start Development Environment​

# Start DDEV environment
cd llm-platform
ddev start
ddev launch

4. Configure Ollama​

# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh

# Pull a model
ollama pull llama3.2:7b

# Test the connection
npx @bluefly/llmcli ai test-ollama

5. Verify Installation​

# Check Drupal status
ddev drush status

# Test AI chat
npx @bluefly/llmcli ai chat "Hello, LLM Platform!"

What's Next?​