Install CortexPrism
One command to get started on Linux, macOS, or Windows.
Quick Install
macOS
$ curl -fsSL https://cortexprism.io/install.sh | bashLinux / WSL
$ curl -fsSL https://cortexprism.io/install.sh | bashWindows (PowerShell)
PS> iwr https://cortexprism.io/install.ps1 -useb | iexPrerequisites
- ◆Linux, macOS, or Windows
- ◆Deno 2.x (installer handles this)
- ◆Git (for source mode)
- ◆Docker (optional, for sandboxes)
What it does
- ◆Installs Deno runtime
- ◆Clones the CortexPrism repo
- ◆Initializes databases
- ◆Configures the system
After install
- ◆Run
cortex setup - ◆Run
cortex chat - ◆Run
cortex serve - ◆Visit docs for more
Manual Installation
Clone the repo directly and run with Deno:
macOS / Linux
# Clone and setup
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 alias to shell profile
echo 'alias cortex="deno run --allow-all ~/.cortex/src/main.ts"' >> ~/.bashrcWindows (PowerShell)
# Clone and setup
git clone https://github.com/CortexPrism/cortex.git $env:USERPROFILE\.cortex
cd $env:USERPROFILE\.cortex
deno run --allow-all src/db/migrate.ts
deno run --allow-all src/main.ts setupPre-compiled Binary
Download the latest binary from the GitHub Releases page. All binaries include SHA-256 checksums and optional GPG signatures.
# Download from releases
curl -LO https://github.com/CortexPrism/cortex/releases/latest/download/cortex-linux-x64
chmod +x cortex-linux-x64
# Verify checksum
sha256sum -c cortex-linux-x64.sha256
# Run setup and start
./cortex-linux-x64 setup
./cortex-linux-x64 chatPost-Install
After installing, run these commands to get started:
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