railway-cli

Manage Railway cloud deployments, services, environment variables, databases, logs, and domains via CLI.

2|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/miketromba/skills --skill railway-cli-miketromba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: railway-cli
Source: https://github.com/miketromba/skills/tree/main/skills/railway-cli
Command: npx skills add https://github.com/miketromba/skills --skill railway-cli-miketromba

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the deployment and management of applications on the Railway platform directly from the command line, eliminating the need to switch to a web interface for common tasks.

Core Features & Use Cases

  • Deployment: Deploy code, manage services, and restart applications.
  • Configuration: Set environment variables, manage databases, and configure domains.
  • Monitoring: Stream logs and SSH into running services for debugging.
  • Use Case: Deploy your latest code changes to Railway, set a new environment variable, and then stream the logs to ensure the deployment was successful.

Quick Start

Deploy your current project to Railway by running the railway up command.

Frequently Asked Questions about railway-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy code to Railway from the command line?

Deploy code to Railway by running the `railway up` command in your project directory. This uploads your application and initiates the cloud deployment process directly through the CLI without needing the web interface.

Can I manage Railway environment variables without using the web interface?

Yes, you can manage Railway environment variables directly through the command line. This allows you to set and configure application variables for your cloud services without navigating the Railway web interface.

Does managing Railway services via CLI require authentication?

Yes, managing Railway services via CLI requires the Railway CLI to be installed and authenticated. Authentication is necessary for all operations including deployment, database provisioning, and log streaming.

How do I stream logs for a Railway deployment in the terminal?

Stream logs for a Railway deployment by using the CLI's log streaming feature. This allows you to monitor application output directly in your terminal to verify deployment success or debug issues.

Can I provision databases and configure domains on Railway through the CLI?

Yes, you can provision databases and configure domains on Railway through the CLI. The command-line interface supports these configuration tasks alongside application deployment and service management operations.

What is the best way to debug a running service on Railway?

The best way to debug a running service on Railway is by using the CLI to SSH into the running service. This provides direct terminal access to the application environment alongside log streaming for troubleshooting.