Installation
Install the Ray Secrets CLI in seconds using automated OS installers, package managers, or standalone precompiled binaries.
Ray Secrets CLI (ray) injects client-side encrypted secrets directly into child process memory with zero plaintext credentials written to disk. It is distributed as a self-contained native binary with zero runtime dependencies, and is also available across all standard package managers.
Quick Install
Choose your platform to get the one-line installation command:
curl -fsSL https://secrets.rcmade.io/install.sh | bashVerifying Installation
Verify that the CLI is installed and accessible in your shell:
ray --versionZero-Argument Interactive Mode: You can also run ray directly without arguments to launch the interactive terminal menu:
rayIn an interactive terminal, this opens a keyboard-driven menu that guides you through login, workspace linking, and secret management.
Next Step: Once installed, run ray login or follow the 5-Minute Quickstart to authenticate your workstation and inject your first secret.
Installation Methods
macOS & Linux
Install the standalone native binary with a single terminal command:
curl -fsSL https://secrets.rcmade.io/install.sh | bashThe script automatically detects your operating system and CPU architecture, downloads the precompiled binary, and adds it to your user PATH.
Windows
On Windows, choose the installation method that fits your workflow:
-
Node Package Manager:
npm install -g @rcmade/ray -
PowerShell One-Liner:
iwr https://secrets.rcmade.io/install.ps1 -useb | iex
Node.js & Bun Package Managers
If your workstation toolchain uses Node.js or Bun, you can install Ray CLI globally:
npm install -g @rcmade/rayRay CLI is also published across alternative registries:
- pnpm:
pnpm add -g @rcmade/ray - bun:
bun add -g @rcmade/ray - yarn:
yarn global add @rcmade/ray
Instant Zero-Install (npx)
Run any Ray CLI command on-demand without installing it permanently on your system:
npx @rcmade/ray login
npx @rcmade/ray doctorDocker & Containers
For Docker container builds and minimal Linux environments, install the standalone binary directly:
RUN apk add --no-cache libstdc++ libgcc ca-certificates curl && curl -fsSL https://secrets.rcmade.io/install.sh | shFor automated CI/CD runners, see the CI/CD with Service Tokens Guide.
Keeping Ray Updated
To upgrade Ray CLI to the latest release:
- Node package managers:
npm update -g @rcmade/ray - Standalone native installers: Re-run the one-line installation command (
curlor PowerShell) to fetch and replace the binary with the latest release.
Uninstalling
If you ever need to remove Ray CLI from your workstation:
- Node package managers:
npm uninstall -g @rcmade/ray - macOS & Linux standalone:
rm -rf ~/.ray - Windows standalone:
Remove-Item -Recurse -Force "$env:USERPROFILE\.ray"
Direct Downloads
For air-gapped environments, offline workstations, or custom deployment pipelines, download precompiled archives directly:
macOS
Apple SiliconMacBook Pro/Air, Mac Studio, Mac Mini (Apple Silicon)
macOS
Intel x86_64Legacy Intel Macs & x86_64 virtualization
Linux (glibc)
x86_64 / amd64Ubuntu, Debian, Fedora, CentOS, RHEL, Arch Linux, WSL2
Linux (glibc)
ARM64 / aarch64AWS Graviton (t4g/c6g/c7g), Raspberry Pi 4/5, Oracle Ampere
Alpine Linux (musl)
x86_64 / muslAlpine-based Dockerfiles & lightweight containerized CI runners
Alpine Linux (musl)
ARM64 / muslARM64 Docker containers on AWS Graviton or Apple Silicon
Windows
64-bit (x64 & ARM64)Windows 10/11 laptops, desktops, and Windows Server CI runners
Manual Extraction
Extract the downloaded archive and place the ray binary in a directory within your system $PATH:
# Apple Silicon (M1/M2/M3/M4)tar -xzf ray-darwin-arm64.tar.gz# Or Intel x86_64# tar -xzf ray-darwin-x64.tar.gzchmod +x raysudo mv ray /usr/local/bin/Integrity Verification
Every release publishes cryptographic SHA-256 hashes in checksums.txt. Verify your downloaded archive before extraction:
shasum -a 256 -c checksums.txtSystem Diagnostics
To verify your environment, network connectivity, and credentials, run the built-in diagnostic suite:
ray doctorThis checks API connectivity, local token storage, and shell hook installation.
Troubleshooting & Frequently Asked Questions
5-Minute Quickstart
Authenticate your workstation, bind your repository, and inject secrets in under 5 minutes.
CI/CD with Service Tokens
Automate secret injection in GitHub Actions, GitLab CI, and Docker with zero plaintext on disk.
Ready to eliminate plaintext secrets?
Create a workspace to organize environments, invite your team, and generate scoped Service Tokens for CI/CD.