sincecutoff.com
← all changes

railway config plan, apply, and current evaluate IaC in the CLI

Introduced 2026-08-21 · score 0.96

HOW TO USE IT

If the repository has a Railway IaC file and is linked to the target project and environment, run `railway config plan` to preview changes, `railway config apply` to apply them after confirmation, or `railway config current` to inspect current configuration. The official documentation describes `plan` and `apply`, but I could not verify `config current` there.

railway config plan
railway config apply

WHY THIS HELPS

Plan, apply, or inspect the current IaC configuration in a repository using `.railway/railway.ts`, `.railway/railway.py`, or `.railway/railway.go`.

REQUIREMENTS AND LIMITATIONS

  • Version: v5.42.0
  • Prerequisite: Install the Railway CLI, authenticate with `railway login`, and link the directory to the target project and environment with `railway link`.
  • Prerequisite: For `plan` and `apply`, the CLI searches the current directory and parent directories for `.railway/railway.ts`, `.railway/railway.py`, or `.railway/railway.go`.
  • The preserved runner behavior applies when `--runner`, `RAILWAY_IAC_TS_BIN`, or `RAILWAY_IAC_ENGINE=ts` is set.
  • The release reports TypeScript and Python file evaluation coverage; it does not state Go evaluation coverage.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card