sincecutoff.com
← all changes

railway up accepts --project

Introduced 2026-01-07 · score 0.97

HOW TO USE IT

When deploying to a selected Railway project, run `railway up` with `--project <project-id>` and `--environment <environment>`; current docs say the environment flag is required with `--project`.

railway up --project <project-id> --environment <environment>

WHY THIS HELPS

Deploy a repository from a selected Railway project.

REQUIREMENTS AND LIMITATIONS

  • Version: v4.17.0
  • --project <ID> (required): Selects the project to deploy to; the current command reference says the default is the linked project.
  • --environment <ENV> (required): Selects the deployment environment; current deploying docs require it when using `--project`.
  • Prerequisite: The current docs require `--environment` when `--project` is used.
  • Prerequisite: For automated deployments, Railway documents using a Project Token scoped to an environment.
  • Docs conflict: The current docs require `--environment` alongside `--project`; the v4.17.0 release note only says the flag was added and does not state this requirement. The current command reference describes current behavior, which may differ from v4.17.0.

FIRST-PARTY EVIDENCE

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

Report a problem with this card