Skip to content

Getting Started

CortexPrism edited this page Jun 17, 2026 · 1 revision

Getting Started

CortexPrism is a self-hosted AI agent harness. This guide gets you from zero to chatting with an AI agent in under 5 minutes.

Requirements

Requirement Notes
Deno 2.x Required — the installer handles this automatically
Docker Optional — needed for sandboxed code execution
macOS, Linux, or Windows All platforms supported

Quick Install

macOS / Linux

curl -fsSL https://cortexprism.io/install.sh | bash

Windows (PowerShell)

irm https://cortexprism.io/install.ps1 | iex

Manual Clone

git clone https://github.com/CortexPrism/cortex.git ~/.cortex
cd ~/.cortex
deno run --allow-all src/db/migrate.ts
deno run --allow-all src/main.ts setup

Add to PATH:

echo 'alias cortex="deno run --allow-all ~/.cortex/src/main.ts"' >> ~/.bashrc
source ~/.bashrc

First Run

cortex setup        # Interactive setup wizard — choose provider, enter API key
cortex chat         # Start your first chat session
cortex serve        # Open the Web UI at http://127.0.0.1:3000

Next Steps

Clone this wiki locally