Automic VaultAutomic Vault

brew

Install aptly with Homebrew, apt, Nix

Swiss army knife for Debian repository management. Version 1.6.3 via Homebrew; verified 2026-06-25.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install aptly

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install aptly

Debian stable package indexes · aptly · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#aptly

nixpkgs package indexes · pkgs/by-name/ap/aptly/package.nix · source: api.github.com

overview

Package summary

Swiss army knife for Debian repository management

Commands and aliases

  • aptly

history

Project history and usage

aptly is a Debian repository management tool for mirroring, snapshotting, publishing, and serving apt repositories. Its central idea is repeatable package environments through immutable snapshots and controlled repository changes.

Project history

The official aptly overview defines the project around repeatability and controlled changes in package environments. It models repositories as mirrors, local repos, snapshots, and published repositories that apt clients can consume.

aptly matured from a CLI-oriented repository tool into a broader repository-management service. Its documentation covers command groups for mirrors, repos, snapshots, packages, publishing, serving, and a REST API, while later releases added storage backends, API endpoints, concurrency fixes, and support for modern repository metadata.

Release history shows the project continuing well beyond its early 1.x line. Version 1.6.0 added large repository and API capabilities such as YAML config defaults, swagger API documentation, etcd database support, Azure storage support, multi-distribution publishing, and improved mirroring. Version 1.6.3 added GCS, Artifactory, AppStream mirror support, multiple GPG keys, and reproducible-build support.

Adoption history

aptly is adopted by teams that need more than a static apt directory but less than a full distribution archive infrastructure. It is common in CI/CD, appliance, internal repository, and staged-rollout workflows where the exact set of .deb packages must be reproducible.

The supplied metadata records Homebrew, Debian, Ubuntu, and Nix packaging. That cross-environment packaging matters because repository publishers are often run from build hosts, release machines, or CI containers rather than only on Debian servers.

How it is used

Operators create mirrors of remote repositories, create local repositories for custom packages, take immutable snapshots, filter or merge snapshots, then publish a snapshot or local repo under a distribution/prefix for apt clients.

Configuration is JSON by default and loaded from ~/.aptly.conf or /etc/aptly.conf unless overridden with -config. The same config can define rootDir storage, dependency behavior, GPG behavior, filesystem publishing endpoints, S3 endpoints, Swift endpoints, logging, metrics, and API serving behavior.

The REST API makes aptly useful as infrastructure plumbing: release jobs can upload packages, create snapshots, switch published repositories, and expose deterministic repository states to fleets.

Why package nerds care

aptly is beloved package-nerd territory because it exposes the moving parts of apt repository management: Packages files, pools, signatures, snapshots, mirrors, publication, and rollback. It turns repository state into named objects you can reason about and automate.

Its snapshot model is the key significance. APT normally consumes the current state of a repository; aptly lets maintainers freeze and publish exact package sets, which is the difference between 'upgrade from whatever the mirror has today' and 'deploy this tested repository state'.

It also bridges old Debian archive concepts with modern infrastructure expectations: API control, cloud storage backends, CI-friendly publishing, and reproducibility.

Timeline

  • 2017: aptly 1.1.x tags show the early 1.x line and package-pool layout changes.
  • 2019: aptly 1.4.0 release line continues storage and repository maintenance work.
  • 2022: aptly 1.5.0 release moves artifact handling away from Bintray-era infrastructure.
  • 2024: aptly 1.6.0 adds YAML config defaults, swagger API docs, etcd support, Azure storage, and multi-distribution publishing.
  • 2026: aptly 1.6.3 adds GCS and Artifactory publishing, AppStream mirror support, multiple GPG keys, and reproducible-build support.

Related projects

  • APT is the client-side package manager that consumes aptly-published repositories.
  • dpkg and Debian package metadata define the .deb files and repository indexes aptly manipulates.
  • GnuPG is central to signing and verifying published apt repository metadata.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.aptly.conf/etc/aptly.conf

executables

Installed executables

CommandKindExposureNote
aptlycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.6.3
manager updated2026-06-25
local dataok
upstreamcurrent
latest detectedv1.6.3

https://github.com/aptly-dev/aptly

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:aptly
Version1.6.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/aptly
Homepagehttps://www.aptly.info/
Repositoryhttps://github.com/aptly-dev/aptly
Upstream docshttps://www.aptly.info/doc/api
LicenseMIT
Source archivehttps://github.com/aptly-dev/aptly/archive/refs/tags/v1.6.3.tar.gz
Last updated2026-06-25T12:05:28Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameaptly
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

aptly 1.6.1+ds1-3

Swiss army knife for Debian repository management - main package

https://www.aptly.info

sudo apt install aptly
  • Section: utils
  • Architecture: amd64
  • 5 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Aptly
Debian stable package indexes · deb.debian.org · Debian stable package indexes: aptly from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

aptly-api 1.6.1+ds1-3

Swiss army knife for Debian repository management - API

https://www.aptly.info

sudo apt install aptly-api
  • Section: utils
  • Architecture: amd64
  • Source Package: aptly
  • 1 dependencies
  • normalized package name match
  • Matched by: Aptly
Debian stable package indexes · deb.debian.org · Debian stable package indexes: aptly-api from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

aptly

nix profile install nixpkgs#aptly
  • normalized package name match
  • Matched by: Aptly
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ap/aptly/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

aptly 1.5.0+ds1-2

Swiss army knife for Debian repository management - main package

https://www.aptly.info

sudo apt install aptly
  • Section: universe/utils
  • Architecture: amd64
  • 5 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Aptly
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: aptly from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

aptly-api 1.5.0+ds1-2

Swiss army knife for Debian repository management - API

https://www.aptly.info

sudo apt install aptly-api
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: aptly
  • 2 dependencies
  • normalized package name match
  • Matched by: Aptly
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: aptly-api from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment