Railway CLI
Find a file
2023-03-04 17:16:15 -05:00
.github simplify npm workflow (#313) 2023-03-04 00:57:14 -05:00
bin fix npm install 2023-03-04 09:25:40 -05:00
npm-install add npm release workflows (#312) 2023-03-04 00:43:32 -05:00
src qol and up fix (#311) 2023-03-04 00:12:28 -05:00
.gitignore fix npm install 2023-03-04 09:25:40 -05:00
Cargo.lock chore: Release railwayapp version 3.0.5 2023-03-04 09:28:41 -05:00
Cargo.toml chore: Release railwayapp version 3.0.5 2023-03-04 09:28:41 -05:00
CONTRIBUTING.md Migrate to CLI v3 (#304) 2023-03-03 21:44:32 -05:00
flake.lock Migrate to CLI v3 (#304) 2023-03-03 21:44:32 -05:00
flake.nix Migrate to CLI v3 (#304) 2023-03-03 21:44:32 -05:00
install.sh rename install script bins (#308) 2023-03-03 22:53:16 -05:00
LICENSE Migrate to CLI v3 (#304) 2023-03-03 21:44:32 -05:00
package.json bump package.json 2023-03-04 09:28:34 -05:00
pnpm-lock.yaml fix npm install 2023-03-04 09:25:40 -05:00
README.md update readme to use bash (#318) 2023-03-04 10:27:25 -05:00
shell.nix Migrate to CLI v3 (#304) 2023-03-03 21:44:32 -05:00
v2.sh add v2 install script 2023-03-04 17:16:15 -05:00

Railway CLI

CI

This is the command line interface for Railway. Use it to connect your code to Railway's infrastructure without needing to worry about environment variables or configuration.

View the docs

The Railway command line interface (CLI) connects your code to your Railway project from the command line.

The Railway CLI allows you to

  • Create new Railway projects from the terminal
  • Link to an existing Railway project
  • Pull down environment variables for your project locally to run
  • Create services and databases right from the comfort of your fingertips

Status

Currently pre-release. We are looking for feedback and suggestions. Please join our Discord to provide feedback.

Installation

Cargo

cargo install railwayapp --locked

Homebrew

brew tap railwayapp/tap
brew install rlwy

NPM

npm install -g @railway/cli

Bash

# Install 
bash <(curl -fsSL cli.new)

# Uninstall
bash <(curl -fsSL cli.new) -r

From source

See CONTRIBUTING.md for information on setting up this repo locally.

Documentation

View the full documentation

Feedback

We would love to hear your feedback or suggestions. The best way to reach us is on Discord.

We also welcome pull requests into this repo. See CONTRIBUTING.md for information on setting up this repo locally.