Getting Started

From install to your first prompt in a couple of minutes.

1

Install

One command on macOS or Linux. Re-run anytime to upgrade.

$ curl -fsSL https://raw.githubusercontent.com/genai-io/gen-code/main/install.sh | bash

Prefer Go? go install github.com/genai-io/gen-code/cmd/gen@latest

2

Launch & pick a theme

Start Gen Code by running gen. On first launch you'll pick a color theme — choose one, and you're ready to connect a model.

$ gen
3

Connect a model

Type /model to open model settings, then:

  1. In the Provider pane on the right, paste your API key — this loads that provider's available models.
  2. Wait for the provider's models to finish loading.
  3. Pick the model you want from the Model list, and start coding.

Switch providers or models anytime with /model. Your choice is saved to ~/.gen/providers.json.

You're set

Explore slash commands with /help, or dive into the docs.