The dotsecenv packages are hosted here for Debian/Ubuntu, Fedora/RedHat, Arch Linux/Manjaro, and macOS.
Public GPG Key: key.asc
pub rsa4096 2025-12-19 [SC] [expires: 2027-12-19]
E60A1740BAEF49284D22EA7D3C376348F0921C59
uid DotSecEnv Releases (Automated Release Signing Key) <release@dotsecenv.com>
sub rsa4096 2025-12-19 [E] [expires: 2027-12-19]
The key can be verified using the OpenPgp Keyserver or on Keybase.
# OpenPGP Keyserver
gpg --keyserver keys.openpgp.org --recv-keys E60A1740BAEF49284D22EA7D3C376348F0921C59
# or Keybase
curl https://keybase.io/dotsecenv/pgp_keys.asc | gpg --import[!IMPORTANT] > For project details, documentation, and source code
Visit the project's repository at github.com/dotsecenv/dotsecenv.
-
Trust the GPG Key:
curl -fsSL https://get.dotsecenv.com/key.asc | sudo gpg --dearmor -o /etc/apt/keyrings/dotsecenv.gpg -
Add the Repository:
echo "deb [signed-by=/etc/apt/keyrings/dotsecenv.gpg] https://get.dotsecenv.com/apt/ ./" | sudo tee /etc/apt/sources.list.d/dotsecenv.list
-
Install:
sudo apt-get update sudo apt-get install dotsecenv
-
Add the Repository:
cat <<EOF | sudo tee /etc/yum.repos.d/dotsecenv.repo [dotsecenv] name=DotSecEnv Repository baseurl=https://get.dotsecenv.com/yum/ enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://get.dotsecenv.com/key.asc EOF
-
Install:
sudo dnf install dotsecenv
-
Add to
pacman.conf:cat <<'EOF' | sudo tee -a /etc/pacman.conf [dotsecenv] Server = https://get.dotsecenv.com/arch/$arch SigLevel = Required DatabaseOptional EOF
-
Trust the Key: You need to locally sign the key for pacman to trust it.
curl -fsSL https://get.dotsecenv.com/key.asc | sudo pacman-key --add - sudo pacman-key --lsign-key E60A1740BAEF49284D22EA7D3C376348F0921C59 -
Install:
sudo pacman -Sy dotsecenv
Download the binary for your architecture:
# Get latest version
DOTSECENV_VERSION=$(curl -s https://api.github.com/repos/dotsecenv/dotsecenv/releases/latest | grep '"tag_name":' | sed -E 's/.*"v?([^"]+)".*/\1/')
# x86_64
curl -LO "https://get.dotsecenv.com/linux/dotsecenv_${DOTSECENV_VERSION}_Linux_x86_64.tar.gz"
# ARM64
curl -LO "https://get.dotsecenv.com/linux/dotsecenv_${DOTSECENV_VERSION}_Linux_arm64.tar.gz"Verify and install:
# Verify checksum
curl -s https://get.dotsecenv.com/linux/checksums.txt | sha256sum -c --ignore-missing
# Extract and install
tar -xzf dotsecenv_*.tar.gz
sudo mv dotsecenv /usr/local/bin/Download the binary for your architecture:
# Get latest version
DOTSECENV_VERSION=$(curl -s https://api.github.com/repos/dotsecenv/dotsecenv/releases/latest | grep '"tag_name":' | sed -E 's/.*"v?([^"]+)".*/\1/')
# Apple Silicon (M1/M2/M3)
curl -LO "https://get.dotsecenv.com/darwin/dotsecenv_${DOTSECENV_VERSION}_Darwin_arm64.tar.gz"
# Intel
curl -LO "https://get.dotsecenv.com/darwin/dotsecenv_${DOTSECENV_VERSION}_Darwin_x86_64.tar.gz"Verify and install:
# Verify checksum
curl -s https://get.dotsecenv.com/darwin/checksums.txt | sha256sum -c --ignore-missing
# Extract and install
tar -xzf dotsecenv_*.tar.gz
sudo mv dotsecenv /usr/local/bin/MacOS builds are also available via Homebrew. Add the tap and install:
brew tap dotsecenv/tap
brew install dotsecenvShell plugins that automatically load .env and .secenv files when entering directories
are available for zsh, bash, and fish.
curl -fsSL https://raw.githubusercontent.com/dotsecenv/plugin/main/install.sh | bashFor plugin manager installation and additional details, see github.com/dotsecenv/plugin#installation.