railway run accepts --project
Introduced 2026-01-08 · score 0.95
HOW TO USE IT
When you need to run a repository command using a Railway project other than the linked project, pass `--project <ID>` to `railway run` and provide the command to execute.
railway run --project <PROJECT_ID> <COMMAND> [ARGS...]WHY THIS HELPS
Run a repository command against a Railway project other than the one currently selected.
REQUIREMENTS AND LIMITATIONS
- Version: v4.19.0
- --project <ID>: Project ID to use; defaults to the linked project.
- <COMMAND> [ARGS...] (required): Command and arguments to execute.
FIRST-PARTY EVIDENCE
Check the installed version and the source before using it. Entry JSON