Skip to main content
Relic reads the following environment variables. None of them are required for normal usage.

Authentication

relic run (on macOS and Linux) and the MCP server don’t pass RELIC_* variables from your environment to the command they run.

Platform Sync

Used by relic push. Each one is optional when you’re logged in with the platform’s own CLI.

Server

You do not need to set these when using Relic’s hosted service. Earlier versions read CONVEX_URL, CONVEX_SITE_URL, and SITE_URL; those generic names are no longer read, so a .env file in your own project can’t redirect the CLI to another server.

Logging

Telemetry

Installation

Importing

Read by relic import vercel. Flags take precedence over these variables.

Runtime

Set by relic shell

relic shell sets these inside the subshell. You don’t set them yourself.

CI/CD Quick Reference

The recommended way to run Relic in a CI/CD pipeline using a service account:
Service accounts are scoped to a project, so RELIC_PROJECT_ID is not needed.
Last modified on October 12, 2026