Install CortexPrism

One command to get started on Linux, macOS, or WSL.

Quick Install

Run this in your terminal to install the latest version:

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

Or with a shorter URL (requires DNS setup):

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

Prerequisites

  • Linux, macOS, or WSL2
  • Git
  • curl or wget
  • Docker (optional)

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

If you prefer to install manually, or the quick install doesn't work for your setup:

# 1. Install Deno
curl -fsSL https://deno.land/install.sh | sh

# 2. Clone the repo
git clone https://github.com/CortexPrism/cortex.git
cd cortex

# 3. Run setup
deno task setup

# 4. Start chatting
./cortex chat

Docker

Run CortexPrism in a containerized environment:

# Pull and run
docker pull cortexprism/cortex:latest
docker run -it --rm \\
  -v ~/.cortex:/home/cortex/.cortex \\
  cortexprism/cortex:latest chat