Skip to content

Installation

Install dotsecenv on your system and verify it’s working correctly.

  1. Choose your installation method

    Homebrew is the recommended method for macOS:

    Terminal window
    brew tap dotsecenv/tap
    brew install dotsecenv

    This automatically installs shell completions.

  2. Verify the installation

    Terminal window
    dotsecenv version

    You should see output like:

    version: v0.4.6
    commit: abc1234
    build at: 2025-01-15T10:30:00Z
    go version: go1.24.0
    crypto: GOFIPS140=v1.0.0 (FIPS 140-3 mode enabled)
  3. Install shell completions (if not automatic)

    Terminal window
    # System-wide
    dotsecenv completion bash | sudo tee /etc/bash_completion.d/dotsecenv
    # Or user-level (add to ~/.bashrc)
    eval "$(dotsecenv completion bash)"

After installation, you should be able to:

Terminal window
# Check version
dotsecenv version
# See available commands
dotsecenv --help
# Tab-complete commands (after shell restart)
dotsecenv <TAB>

Download a specific version from GitHub releases:

Terminal window
VERSION="0.4.6"
curl -LO "https://github.com/dotsecenv/dotsecenv/releases/download/v${VERSION}/dotsecenv_${VERSION}_Linux_x86_64.tar.gz"

All packages are signed with the dotsecenv release key:

pub rsa4096 2025-12-19 [SC] [expires: 2027-12-19]
E60A1740BAEF49284D22EA7D3C376348F0921C59
uid DotSecEnv Releases <release@dotsecenv.com>

Verify the key from multiple sources:

Terminal window
# OpenPGP Keyserver
gpg --keyserver keys.openpgp.org --recv-keys E60A1740BAEF49284D22EA7D3C376348F0921C59
# Keybase
curl https://keybase.io/dotsecenv/pgp_keys.asc | gpg --import

All macOS binaries are code-signed with an Apple Developer ID certificate and notarized by Apple. This ensures Gatekeeper allows the binary to run without security warnings.

Verify code signature:

Terminal window
codesign --verify --verbose /usr/local/bin/dotsecenv
# Expected: valid on disk

Verify notarization status:

Terminal window
spctl --assess --verbose /usr/local/bin/dotsecenv
# Expected: accepted
# source=Notarized Developer ID

View signature details:

Terminal window
codesign -dv --verbose=4 /usr/local/bin/dotsecenv
Terminal window
brew uninstall dotsecenv
brew untap dotsecenv/tap