Installation
Prerequisites
Section titled “Prerequisites”Before installing RAPID, ensure you have:
| Requirement | Version | Notes |
|---|---|---|
| Node.js | 20+ | For RAPID CLI |
| Docker | Latest | Docker Desktop, Podman, or compatible runtime |
| 1Password CLI | Latest | Recommended for secrets management |
| direnv | Latest | For automatic environment loading |
Install RAPID CLI
Section titled “Install RAPID CLI”bash npm install -g @a3t/rapid bash pnpm add -g @a3t/rapid bash yarn global add @a3t/rapid Verify the installation:
rapid --versionInstall direnv
Section titled “Install direnv”direnv automatically loads environment variables when you enter a project directory.
brew install direnv# Ubuntu/Debiansudo apt install direnv
# Archsudo pacman -S direnvAdd the hook to your shell:
echo 'eval "$(direnv hook bash)"' >> ~/.bashrcsource ~/.bashrcecho 'eval "$(direnv hook zsh)"' >> ~/.zshrcsource ~/.zshrcecho 'direnv hook fish | source' >> ~/.config/fish/config.fishInstall 1Password CLI (Recommended)
Section titled “Install 1Password CLI (Recommended)”1Password CLI enables secure secret management without storing API keys in plaintext.
brew install 1password-clicurl -sS https://downloads.1password.com/linux/keys/1password.asc | \ sudo gpg --dearmor --output /usr/share/keyrings/1password-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/$(dpkg --print-architecture) stable main" | \ sudo tee /etc/apt/sources.list.d/1password.list
sudo apt update && sudo apt install 1password-cliSign in to 1Password:
eval $(op signin)Verify Setup
Section titled “Verify Setup”Run the following to verify everything is installed:
# Check RAPIDrapid --version
# Check Dockerdocker --version
# Check direnvdirenv --version
# Check 1Password (optional)op --versionNext Steps
Section titled “Next Steps”You’re ready to create your first RAPID project. Head to the Quickstart guide.