Skip to content

iloveitaly/cli-1

This branch is 1 commit ahead of, 142 commits behind railwayapp/cli:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d180552 · Jan 26, 2024
Oct 19, 2023
Jan 3, 2024
Mar 5, 2023
Mar 8, 2023
Dec 5, 2023
Dec 5, 2023
Mar 4, 2023
Mar 4, 2023
Nov 14, 2023
Nov 14, 2023
Dec 5, 2023
Mar 4, 2023
Jan 26, 2024
Mar 4, 2023
Mar 4, 2023
Mar 6, 2023
Nov 14, 2023
Mar 4, 2023
Jan 26, 2024
Apr 13, 2023
Mar 4, 2023
Mar 4, 2023

Repository files navigation

Railway CLI

Crates.io CI cargo audit

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/railway
brew install railway

NPM

npm install -g @railway/cli

Bash

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

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

Scoop

scoop install railway

Zsh Shell Completion

Add this to your zinit config (.zshrc):

zinit light railway/cli

# it also works with turbo mode:
zinit ice wait lucid
zinit load railway/cli

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.

Packages

No packages published

Languages

  • Rust 84.9%
  • Shell 10.9%
  • Nix 2.5%
  • JavaScript 1.6%
  • Dockerfile 0.1%