Installing Mozilla SOPS Encryption Tool

What is Mozilla SOPS?

SOPS is an editor of encrypted files that supports YAML, JSON, ENV, INI and BINARY formats and encrypts with AWS KMS, GCP KMS, Azure Key Vault, age, and PGP.It’s open source and you can read more about it on the GitHub repo.Looking for a tutorial on how use this? Check out this video on how to use SOPS and Age for your Git Repos!


We want to get the latest release of SOPS so we need to look at their github repo for the latest version.

SOPS_LATEST_VERSION=$(curl -s "" | grep -Po '"tag_name": "v\K[0-9.]+')

Then we’ll use curl to download the latest .deb

curl -Lo sops.deb "${SOPS_LATEST_VERSION}_amd64.deb"

Then we’ll want to install sops.deb along with any missing dependencies

sudo apt --fix-broken install ./sops.deb

Then we’ll clean up our download

rm -rf sops.deb

Then we can test to make sure sops is working by running:

sops -version


To uninstall, it’s as simple as using apt to remove it

sudo apt remove sops

⚙️ See all the hardware I recommend at

🚀 Don’t forget to check out the 🚀Launchpad repo with all of the quick start source files

This post is licensed under CC BY 4.0 by the author.