|Docs

railway starship

Output project metadata in JSON format for Starship prompt integration.

Usage

railway starship

This command is primarily used for Starship prompt integration to display Railway project information in your terminal prompt.

Output

Returns JSON containing the linked project information:

{
  "project": "project-id",
  "name": "my-project",
  "environment": "environment-id",
  "environmentName": "production"
}