Skip to content

Quickstart

Run RAGNA Studio on a local machine for a try-out.

One command installs and starts RAGNA Studio on localhost. It needs no proxy and no TLS.

Who this is for

  • Trying RAGNA Studio on a local machine: follow this page.
  • Running it on a server for other users: the same command works there. Follow Self-hosting for domains and the reverse proxy.
  • Setting it up by hand with Docker Compose: the script is not needed, see Install using Docker Compose.

Requirements

This method uses Docker. Docker runs RAGNA Studio in self-contained packages, so nothing else needs to be installed or configured by hand. If Docker is missing, install Docker. It includes Docker Compose, which the install command also needs.

No Docker knowledge is needed. Docker only has to be installed and running in the background.

The command also uses curl and openssl. Most systems already have both. Have these ready, the script asks for them:

  • An OAuth client (Google or Microsoft) for sign-in, see Configuration. Use http://localhost:3010/auth/callback/<provider> as the redirect URI.
  • At least one LLM API key (Anthropic, OpenAI, Google Gemini or Mistral).
  • Optional: S3-compatible storage, see Storage. Without it, file uploads and image/video generation don’t work. It can be added later.

Run the command

curl -fsSL https://get.ragna.io | sh

The script:

Checks the system

It checks that Docker is installed and running, and reports what is missing if not.

Creates a folder

It creates a ragna-studio folder in the current folder. It downloads the compose files of the latest release into it. Set RAGNA_DIR to use another folder.

Writes the settings

It creates .env with generated secrets and pins the release as RAGNA_VERSION. Then it asks for the domains (press Enter for localhost), OAuth client, storage (press Enter to skip) and AI keys.

Starts RAGNA Studio

It pulls the images of that release and starts the stack.

Then open localhost:3000. If something goes wrong, see Troubleshooting.

If a setting is missing, the script lists it and stops. Fill it in ragna-studio/.env and run the command again from the same folder. Running it again is safe: it keeps the .env and data, and starts the stack with the current settings. The environment variables reference lists every setting.

What’s included

Service What it does
Frontend The web app on port 3000
Backend The API on port 3010
Worker Runs background jobs, for example image generation and document indexing
Webbrowser Fetches web pages for agents
Postgres Stores the data, including vector search for documents
Redis Queues the background jobs

Only the frontend and backend have ports, and they listen on 127.0.0.1 only. All other services stay inside the Docker network. To serve RAGNA Studio to other users, follow Self-hosting.

Everyday commands

Run these from the folder that contains ragna-studio.

Task Command
Stop docker compose -p ragna_studio down
Start again curl -fsSL https://get.ragna.io | sh
Show logs docker compose -p ragna_studio logs -f
Upgrade curl -fsSL https://get.ragna.io | sh -s -- --upgrade
Uninstall and delete all data docker compose -p ragna_studio down -v, then delete the ragna-studio folder

Stopping keeps the data in the Docker volumes. Uninstalling deletes it.

What an upgrade changes

An upgrade moves RAGNA_VERSION in .env to the latest release. It refreshes the compose files, pulls the new images and restarts. Data, secrets and other settings stay as they are. Without --upgrade, the script keeps the pinned release.

Options

Option What it does
--upgrade Moves an existing install to the latest release
--help Lists the options
RAGNA_DIR Environment variable. Installs into this folder instead of ./ragna-studio.

Pass options after sh -s --, for example curl -fsSL https://get.ragna.io | sh -s -- --help.

Prefer not to run a script from the internet?

Download it, read it, then run it:

curl -fsSL https://get.ragna.io -o install.sh
less install.sh
sh install.sh

Windows

The command needs a POSIX shell. Command Prompt and PowerShell don’t work. Use WSL with Docker Desktop’s WSL 2 integration turned on, and run the command in the WSL terminal. Run it in the WSL home folder, not under /mnt/c/.... Folders on the Windows drive are slow and cause permission problems.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close