Install the Railway CLI. This allows you to interact with your Railway project and runs your code in your projects environment.
Install as a Homebrew tap
or from NPM
Navigate to your local repo and create a Railway project
Run your code using the Railway environment
Add a plugin to your project to seamlessly and instantly have access to infrastructure.