sincecutoff.com
← all changes

railway CLI adds standalone railway restart command

Introduced 2026-01-08 · score 0.94

HOW TO USE IT

When you need to restart a Railway service, run `railway restart`; it restarts the most recent deployment without rebuilding it.

railway restart
railway restart --service <SERVICE>
railway restart --yes

WHY THIS HELPS

Restart the Railway resource or service you are working on from the CLI.

REQUIREMENTS AND LIMITATIONS

  • Version: v4.22.0
  • --service <SERVICE> (-s): Selects the service to restart; defaults to the linked service.
  • --yes (-y): Skips the confirmation dialog.
  • --json: Outputs in JSON format.
  • Prerequisite: Install the Railway CLI and authenticate with `railway login` before using it.
  • Prerequisite: The default target is the linked service; use `railway link` to link the project if needed.

FIRST-PARTY EVIDENCE

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

Report a problem with this card