-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
sysid edited this page Jan 17, 2026
·
4 revisions
- Rust 1.70 or later (for cargo install)
- direnv - recommended for automatic environment loading
- SOPS - required for encryption features (optional)
- GPG - required for GPG-based encryption (optional)
brew tap sysid/rsenv
brew install rsenvThis automatically installs shell completions.
cargo install rsenvgit clone https://github.com/sysid/rsenv
cd rsenv/rsenv
cargo install --path .rsenv --version
rsenv inforsenv works best with direnv for automatic environment loading.
brew install direnvapt install direnvAdd to your shell config:
bash (~/.bashrc):
eval "$(direnv hook bash)"zsh (~/.zshrc):
eval "$(direnv hook zsh)"fish (~/.config/fish/config.fish):
direnv hook fish | sourceSOPS is required for vault encryption features.
brew install sops# Download from releases
curl -LO https://github.com/getsops/sops/releases/download/v3.8.1/sops-v3.8.1.linux.amd64
chmod +x sops-v3.8.1.linux.amd64
sudo mv sops-v3.8.1.linux.amd64 /usr/local/bin/sopssops --versionGenerate completions for your shell:
# bash
rsenv completion bash > ~/.local/share/bash-completion/completions/rsenv
# zsh
rsenv completion zsh > ~/.zfunc/_rsenv
# Then add to ~/.zshrc: fpath=(~/.zfunc $fpath)
# fish
rsenv completion fish > ~/.config/fish/completions/rsenv.fish
# powershell
rsenv completion powershell > $HOME\Documents\PowerShell\Modules\rsenv\rsenv.psm1Create a global configuration file:
rsenv config init --globalThis creates ~/.config/rsenv/rsenv.toml. Edit to set:
-
base_dir- rsenv base directory (vaults stored inbase_dir/vaults) -
sops.gpg_key- GPG key for encryption -
editor- preferred editor
See Configuration for details.
# Check configuration
rsenv config show
# Check paths
rsenv config path- Quick Start - Initialize your first vault
- Core Concepts - Understand how rsenv works
- Configuration - Customize settings
rsenv Documentation