# Install railway with Homebrew, apk, Nix, pacman, scoop

Develop and deploy code with zero configuration. Version 5.24.0 via Homebrew; verified 2026-07-07.

## 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 page:** <https://formulae.brew.sh/formula/railway>
- **Version:** 5.24.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.24.0.tar.gz>
- **Last updated:** 2026-07-07T20:34:13Z
- **Generated:** 2026-07-08T07:18:31+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-07-08
- Package-manager version: 5.24.0
- Package-manager updated: 2026-07-07
- Local data: ok
- Upstream repository: https://github.com/railwayapp/cli
- Upstream latest detected: v5.24.0 (current)

## Security Notes

No matching local secret-handling manifest was found for railway. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.railway/config.json, ~/.railway/config-dev.json, ~/.railway/config-staging.json

## Credential files

- Unix: ~/.railway/config.json, ~/.railway/config-dev.json, ~/.railway/config-staging.json
## 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/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [vercel-cli](https://www.automicvault.com/pkg/brew/vercel-cli/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure, deployment, hosting.
- [aws-elasticbeanstalk](https://www.automicvault.com/pkg/brew/aws-elasticbeanstalk/) - Shares av.db curated category or tags: cli, cloud-infrastructure, deployment, paas.
- [sail](https://www.automicvault.com/pkg/brew/sail/) - Shares av.db curated category or tags: cli, cloud-infrastructure, deployment, hosting.
- [scalingo](https://www.automicvault.com/pkg/brew/scalingo/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure, deployment, hosting.
- [webpod](https://www.automicvault.com/pkg/brew/webpod/) - Shares av.db curated category or tags: cli, cloud-infrastructure, deployment, hosting.
- [bosh-cli](https://www.automicvault.com/pkg/brew/bosh-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, deployment.
- [convox](https://www.automicvault.com/pkg/brew/convox/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure, deployment, paas.
- [ecs-deploy](https://www.automicvault.com/pkg/brew/ecs-deploy/) - Shares av.db curated category or tags: cli, cloud-infrastructure, deployment.
- [railway](https://www.automicvault.com/pkg/npm/railway/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/railway.yml](https://github.com/automic-vault/db/blob/main/combined/railway.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
