# Install railway

Develop and deploy code with zero configuration. Version 5.8.0 via Homebrew; verified 2026-06-10.

## Install

```sh
sudo av install brew:railway
```

## Agent safety answer

railway manages Railway projects, services, variables, and deployments.

- **Credential access:** Reads Railway tokens, project links, and environment variable data.
- **Remote mutation:** Can deploy, change variables, and mutate hosted services.
- **Publish/artifact risk:** Publishes application builds and deployment state.
- **Recommended control:** Gate deploy, variable, service, and token commands.
- **Agent-use guidance:** Allow status reads; require approval for deploys, variable changes, and service mutations.

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install railway
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add railway
```

  Evidence: Alpine Linux edge package indexes: railway from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#railway
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ra/railway/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S railway
```

  Evidence: Arch Linux sync databases: railway from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/railway
```

  Evidence: Scoop official bucket manifest trees: bucket/railway.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package Facts

- **Package key:** brew:railway
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/railway>
- **Version:** 5.8.0
- **Source summary:** Develop and deploy code with zero configuration
- **Homepage:** <https://railway.com/>
- **Repository:** <https://github.com/railwayapp/cli>
- **Upstream docs:** <https://docs.railway.com/cli>
- **License:** MIT
- **Source archive:** <https://github.com/railwayapp/cli/archive/refs/tags/v5.8.0.tar.gz>
- **Last updated:** 2026-06-10T01:13:55Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- railway (cli)
- railway (alias)

## Build Dependencies

- rust

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 5.8.0
- Package-manager updated: 2026-06-10
- Local data status: ok
- Upstream repository: https://github.com/railwayapp/cli
- Upstream latest detected: v5.8.0 (current)

## セキュリティノート

no executable entrypoint in the package index.

- **Protected-tool coverage:** Plain Text Railway CLI Tokens
- **Geiger risk:** green / low
- no executable entrypoint in the package index

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** railway
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - railway: normalized package name match | nixpkgs package indexes: pkgs/by-name/ra/railway/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - railway - 2.9.4-r0: normalized package name match | Alpine Linux edge package indexes: railway from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Railway lets you look up travel information for many different railways | https://gitlab.com/schmiddi-on-mobile/railway
- apk - railway-lang - 2.9.4-r0: normalized package name match | Alpine Linux edge package indexes: railway-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Languages for package railway | https://gitlab.com/schmiddi-on-mobile/railway
- pacman - railway - 2.10.1-1: normalized package name match | Arch Linux sync databases: railway from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Look up travel information for many different railways | https://apps.gnome.org/DieBahn/
- Scoop - main/railway: normalized package name match | Scoop official bucket manifest trees: bucket/railway.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related Links

- [Cloud CLI packages](https://www.automicvault.com/ja/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://www.automicvault.com/ja/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [vercel-cli](https://www.automicvault.com/ja/pkg/brew/vercel-cli/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure, deployment, hosting.
- [aws-elasticbeanstalk](https://www.automicvault.com/ja/pkg/brew/aws-elasticbeanstalk/) - Shares av.db curated category or tags: cli, cloud-infrastructure, deployment, paas.
- [scalingo](https://www.automicvault.com/ja/pkg/brew/scalingo/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure, deployment, hosting.
- [sail](https://www.automicvault.com/ja/pkg/brew/sail/) - Shares av.db curated category or tags: cli, cloud-infrastructure, deployment, hosting.
- [webpod](https://www.automicvault.com/ja/pkg/brew/webpod/) - Shares av.db curated category or tags: cli, cloud-infrastructure, deployment, hosting.
- [flyctl](https://www.automicvault.com/ja/pkg/brew/flyctl/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure, deployment, paas.
- [firebase-cli](https://www.automicvault.com/ja/pkg/brew/firebase-cli/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure, deployment, hosting.
- [helmfile](https://www.automicvault.com/ja/pkg/brew/helmfile/) - Shares av.db curated category or tags: cli, cloud-infrastructure, deployment.

## Sources

- Nucleus package database
- Geiger risk classifier
- secret-handling manifest
- local coverage README
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
