Install

Install Rayu Code in one command.

The CLI runs in any terminal. The VS Code extension runs the same engine inside your editor. Install either one, or both.

Rayu CLI

rayu · standalone Rust binary · macOS, Linux, Windows

Prefer the older Node CLI? Switch to Legacy.
$ curl -fsSL https://rayucode.com/install | bash
Standalone Rust binary. Installs into ~/.local/bin, no sudo needed.Read install.sh first
Interactive Video WalkthroughDemo for v3 · Rust · macOS
RayucodeTerminal — zsh — 80×24
Live Demo
alex@macbook ~ %

Then open a new terminal and run rayu. Already using the older Node CLI? Running rayu update upgrades to v3, renames the old binary to rayu-legacy, and asks if you want to remove it.

VS Code extension

RayuCode.rayucode · Marketplace

VS Code 1.85+

The full Rayu engine inside your editor: chat in editor tabs, a sidebar for sessions, providers and MCP servers, and every slash command the CLI has.

Opens VS Code on your machine with the install prompt ready. Or from a terminal:

$ code --install-extension RayuCode.rayucode
Interactive VS Code WalkthroughMarketplace & In-Editor AI Demo
auth.ts — rayu-app — Visual Studio Code
VS Code Demo
Extensions: Marketplace
TSauth.ts
1import { redis } from "../lib/redis";
2import { jwt } from "jsonwebtoken";
3 
4export async function verifyAuth(req: Request) {
5  const token = req.headers.get("authorization");
6  return jwt.verify(token, process.env.SECRET);
7}
main*0 errors
Ln 6, Col 12UTF-8TypeScript

The extension signs in separately from the CLI. See the extension guide.

What’s next

Sign in, pick a model, start.

01

Check the install

Open a new terminal and run rayu --version. The installer already ran it once before reporting success.

Installation guide →
02

Sign in

Run rayu and choose Sign in. Your browser opens, you approve with Google, and the terminal finishes on its own. Or set RAYU_API_KEY in your environment.

Quickstart →
03

Pick a model

Run /model to choose from the hosted catalog and your connected providers. Each hosted model has its own credit rate.

Compare models →

Prefer the browser? Try Rayu Studio, then connect a CLI or VS Code session to it with /web-bridge.