CLI Quick Start
Use the Railway CLI to connect your code to your projects infrastructure without needing to worry about environment variables or configuration.
Connect to an existing Railway project or create a new one.
Run code inside your Railway environment. We connect your code to your infrastructure hosted on Railway by injecting environment variables.
For example, to run your node project with Railway:
If you have a Dockerfile in your project directory, you can just run
railway run with no arguments to build and run the Dockerfile.
Deploy current directory to Railway.
Edit this file on GitHub