Installation Guide¶
This guide covers various methods to install opnDossier on your system.
Prerequisites¶
- Linux, macOS, FreeBSD, or Windows (cross-platform support)
- Go 1.26+ (only required for
go installor building from source)
Installation Methods¶
1. Homebrew (macOS)¶
This installs the binary along with shell completions for bash, zsh, and fish.
2. Linux Packages¶
Native packages are published with each release. Download the appropriate package from the releases page:
Debian / Ubuntu (.deb):
Red Hat / CentOS / Fedora (.rpm):
Alpine (.apk):
Arch Linux:
Native packages include man pages, shell completions, and documentation.
To verify a downloaded package before installing, see Verifying Downloads below.
3. Download Pre-built Binaries¶
Pre-built binaries are available for multiple platforms from the releases page:
# Download the latest release for your platform
curl -LO https://github.com/EvilBit-Labs/opnDossier/releases/latest/download/opnDossier_Linux_x86_64.tar.gz
# Verify the download (see "Verifying Downloads" below)
curl -LO https://github.com/EvilBit-Labs/opnDossier/releases/latest/download/opnDossier_checksums.txt
sha256sum -c opnDossier_checksums.txt --ignore-missing
# Extract and install
tar xzf opnDossier_Linux_x86_64.tar.gz
chmod +x opndossier
sudo mv opndossier /usr/local/bin/
Available platforms:
- Linux (amd64, arm64)
- macOS (universal binary -- amd64 + arm64)
- FreeBSD (amd64)
- Windows (amd64, zip archive)
Windows:
Download the .zip archive from the releases page, extract it, and add the directory containing opndossier.exe to your PATH.
4. Docker¶
docker pull ghcr.io/evilbit-labs/opndossier:latest
# Run against a local config file
docker run --rm -v "$(pwd):/data" ghcr.io/evilbit-labs/opndossier:latest convert /data/config.xml
5. Go Install¶
If you have Go 1.26+ installed:
This installs the latest release to your $GOPATH/bin directory.
6. Build from Source¶
git clone https://github.com/EvilBit-Labs/opnDossier.git
cd opnDossier
go build -o opndossier main.go
Updating¶
Homebrew¶
Linux Packages¶
Download and install the latest package from the releases page. The package manager will handle the upgrade.
Pre-built Binaries / Source¶
Download the latest binary or pull and rebuild from source.
Docker¶
Go Install¶
Verifying Downloads¶
Every release publishes a opnDossier_checksums.txt file containing SHA-256 hashes for all release artifacts (packages, binaries, and archives). The checksum file is signed with Cosign keyless signatures via Sigstore.
SHA-256 Checksums¶
# Download the checksum file
curl -LO https://github.com/EvilBit-Labs/opnDossier/releases/latest/download/opnDossier_checksums.txt
# Verify your downloaded file against the checksums
# Linux:
sha256sum -c opnDossier_checksums.txt --ignore-missing
# macOS:
shasum -a 256 -c opnDossier_checksums.txt
Cosign Signature Verification¶
If you have Cosign installed, you can verify the checksum file itself was produced by the official release pipeline:
# Download the signature bundle
curl -LO https://github.com/EvilBit-Labs/opnDossier/releases/latest/download/opnDossier_checksums.txt.sigstore.json
# Verify (replace TAG with the release tag, e.g. v0.9.0)
cosign verify-blob \
--certificate-identity "https://github.com/EvilBit-Labs/opnDossier/.github/workflows/release.yml@refs/tags/TAG" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
--bundle opnDossier_checksums.txt.sigstore.json \
opnDossier_checksums.txt
Verify Your Installation¶
After installing, verify your installation:
# Check version
opndossier version
# Test basic functionality
opndossier --help
# Test shell completion
opndossier completion bash # Should show bash completion script
Configuration (Optional)¶
opnDossier works out of the box with no configuration file. All settings can be passed as command-line flags or environment variables. If you want to set persistent defaults, you can create a configuration file.
Configuration File¶
opnDossier looks for ~/.opnDossier.yaml if it exists:
You can also point to a different file with --config /path/to/config.yaml.
Environment Variables¶
Settings can also be set via environment variables:
See the Configuration Guide for the full list of options and precedence rules.
Shell Completion¶
opnDossier includes shell completion support:
Bash¶
# Add to ~/.bashrc
source <(opndossier completion bash)
# Or install globally
opndossier completion bash > /etc/bash_completion.d/opndossier
Zsh¶
# Add to ~/.zshrc
source <(opndossier completion zsh)
# Or for oh-my-zsh
opndossier completion zsh > ~/.oh-my-zsh/completions/_opndossier
Fish¶
opndossier completion fish | source
# Or save to file
opndossier completion fish > ~/.config/fish/completions/opndossier.fish
PowerShell¶
Troubleshooting¶
Common Issues¶
- Command not found
First, check whether the binary is on your system:
If nothing is returned, the fix depends on how you installed:
-
Homebrew: Run
brew link opndossieror start a new shell session. -
Linux package (deb/rpm/apk): The package installs to
/usr/bin/-- verify the package is installed with your package manager (e.g.,dpkg -l | grep opndossier). -
Pre-built binary: Ensure you moved the binary to a directory in your
PATH(e.g.,/usr/local/bin/). -
Go install: Add the Go bin directory to your
PATH:Add this line to
~/.bashrc,~/.zshrc, or your shell's config file to make it permanent. -
Windows: Verify the binary is on your
PATH:If not found, add the directory containing
opndossier.exeto yourPATHvia System Properties > Environment Variables, or in PowerShell: -
Permission denied
- Config file not found
A configuration file is not required. If you are using one and see this error, verify its location:
ls -la ~/.opnDossier.yaml
# Or specify a custom location
opndossier --config /path/to/config.yaml convert config.xml
Debugging Installation¶
If you installed via go install or built from source and need to troubleshoot the Go toolchain:
Next Steps¶
After installation:
- Follow the Getting Started tutorial to process your first config
- Read the Configuration Guide to set up your preferences
- Check the Commands Overview for the full command reference
- Review Common Workflows for real-world patterns
For installation issues, see our troubleshooting guide or open an issue on GitHub.