Skip to main content

Installing Cluely

This guide will walk you through installing Cluely on your machine. The process takes about 5-10 minutes depending on your AI provider choice.

Prerequisites

Before installing Cluely, ensure you have the following installed:
1

Node.js

Install Node.js version 16 or higher from nodejs.orgVerify installation:
node --version
npm --version
2

Git

Install Git from git-scm.comVerify installation:
git --version
3

AI Provider (Choose one)

Choose one of the following AI providers:

Installation steps

1

Clone the repository

git clone https://github.com/yourusername/free-cluely.git
cd free-cluely
2

Install dependencies

npm install
The installation automatically runs npm rebuild sharp via the postinstall script to ensure Sharp is properly configured.
3

Configure environment variables

Create a .env file in the root folder:
touch .env
Choose your AI provider configuration:
# Primary API key (required)
GEMINI_API_KEY=your_primary_api_key_here

# Fallback API key (optional but recommended)
GEMINI_FALLBACK_API_KEY=your_backup_api_key_here
The fallback API key is used automatically if the primary key hits rate limits or errors.
4

Start the application

Platform-specific notes

PermissionsOn first launch, macOS may ask for permissions:
  • Screen Recording: Required for screenshot functionality
  • Accessibility: Required for global shortcuts
Grant these in System Preferences → Security & Privacy → Privacy.Dock iconCluely hides from the dock by default (see electron/main.ts:320). Access it via:
  • Global shortcuts
  • Menu bar tray icon (shows as “IC”)
Closing the appUse Cmd + Q to quit properly. The close button (X) currently doesn’t work (known issue).

Troubleshooting

Port 5180 already in use

If you see an error about port 5180:
# Find processes using port 5180
lsof -i :5180

# Kill the process (replace [PID] with the process ID)
kill [PID]

Sharp/Python build errors

If you see gyp ERR! find Python or Sharp-related errors during installation:
rm -rf node_modules package-lock.json
npx cross-env SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm install --ignore-scripts
npm rebuild sharp

Ollama not responding

If using Ollama and the app can’t connect:
  1. Ensure Ollama is running:
    ollama serve
    
  2. Verify the model is pulled:
    ollama list
    
  3. Test Ollama directly:
    curl http://localhost:11434/api/generate -d '{
      "model": "llama3.2",
      "prompt": "Hello"
    }'
    

General installation issues

If you encounter other errors:
1

Clean installation

rm -rf node_modules package-lock.json
npm install
2

Verify environment variables

Check that your .env file is in the root directory and properly formatted.
3

Check logs

Run in development mode to see detailed logs:
npm start

App won’t quit

The close button (X) currently doesn’t work. This is a known issue.
Solutions:
  • Press Cmd + Q (macOS) or Ctrl + Q (Windows/Linux)
  • Use Activity Monitor (macOS) or Task Manager (Windows) to force quit “Interview Coder”
  • On Linux: pkill -f "interview-coder"

Next steps

Quick Start Guide

Learn how to take your first screenshot and get AI-powered insights

Build docs developers (and LLMs) love