Automic VaultAutomic Vault

brew

Install varnish with Homebrew, apk, apt, dnf, MacPorts, Nix

High-performance HTTP accelerator. Version 9.0.3 via Homebrew; verified 2026-06-06.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install varnish

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install varnish

MacPorts ports tree · www/varnish/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add varnish

Alpine Linux edge package indexes · varnish · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libvarnishapi-dev

Debian stable package indexes · libvarnishapi-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install varnish

Fedora Rawhide package metadata · varnish · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#varnish

nixpkgs package indexes · varnish · source: raw.githubusercontent.com

overview

Package summary

High-performance HTTP accelerator

Commands and aliases

  • varnishadm
  • varnishd
  • varnishhist
  • varnishlog
  • varnishlog-json
  • varnishncsa
  • varnishstat
  • varnishstat_help_gen
  • varnishtest
  • varnishtop
  • vtest

history

Project history and usage

Varnish Cache is an HTTP accelerator and reverse caching proxy designed to sit in front of origin servers and serve cached responses from memory. It is best known for VCL, the Varnish Configuration Language, which lets operators encode cache policy as programmable configuration.

Project history

The project began from the operational needs of VG Nett, the online branch of the Norwegian newspaper Verdens Gang. In 2005 the site was serving more than 45 million page views per week and needed twelve servers; system administrator Anders Berg wrote a specification for a faster open-source HTTP accelerator. Anders Nordby helped bring in Danish FreeBSD developer Poul-Henning Kamp, VG funded the work, and Linpro supplied development and support infrastructure.

The first code was submitted to the Varnish Cache repository on February 22, 2006. Varnish 1.0 followed in September 2006 as the first production release of the high-performance HTTP accelerator. By that point VG had replaced its Squid layer and was reportedly running on Varnish alone, handling traffic spikes with three servers instead of twelve.

The project later developed a commercial ecosystem. Varnish Software was founded in 2010 after spinning out from Linpro and took over development and management around the open-source project while offering web-acceleration products and support. The open-source line continued through major releases such as 2.0 in 2008, 3.0 in 2011, and 4.0 in 2014, while commercial offerings such as Varnish Plus added enterprise storage, high availability, tuning, API acceleration, and TLS-related products.

Adoption history

Varnish was adopted by high-traffic publishers, social platforms, and content-heavy sites because it focused narrowly on origin-side HTTP acceleration rather than general proxying. Official history material highlights adoption stories including Facebook, WikiLeaks under severe traffic pressure in 2010, Varnish User Group meetings, and the publication of community learning material such as the Varnish Book.

Its architecture reflected a package-operator culture: fast in-memory caching, shared-memory logging, separately packaged observability tools, and command-line administration. The administrator documentation describes the normal deployment pattern as installing Varnish in front of any HTTP server, configuring cache policy, and using reference tools such as `varnishadm`, `varnishlog`, `varnishstat`, `varnishncsa`, `varnishhist`, and `varnishtop` to operate it.

How it is used

A typical Varnish deployment places `varnishd` between clients and an origin web server. Requests are answered from cache when possible and proxied to the origin otherwise. Cache policy is expressed in VCL, which official documentation describes as compiled into native code and run inside the worker, allowing policy decisions at line rate.

Package users usually care about the daemon, the default VCL path, system service integration, and the tooling suite. The same package often gives operators an interactive admin CLI, request logs, Apache-style access logging, real-time counters, histogram views, test tooling, and VCL validation, making Varnish feel more like a small HTTP-cache operating environment than a single binary.

Why package nerds care

Varnish matters in package-manager culture because it is a canonical example of a specialized Unix network daemon: small surface area, strong command-line tooling, a DSL for runtime policy, and a BSD-licensed open-source core that distributions can ship independently from commercial variants.

The modern branding has become more complex. The current Varnish site describes Varnish Cache as a distribution of the open-source Vinyl Cache project, with native TLS, containers, Helm charts, and long-term-support cadence layered around the original caching architecture. That transition is part of the stewardship story package maintainers now have to track.

Timeline

  • 2005: VG Nett identifies the need for a faster open-source HTTP accelerator.
  • 2006-02-22: First code is submitted to the Varnish Cache repository.
  • 2006-09: Varnish 1.0 is released and VG is running on Varnish alone.
  • 2008: Varnish 2.0 is released.
  • 2010: Varnish Software is founded after spinning out from Linpro.
  • 2011: Varnish 3.0 release helps anchor a growing community and release-party culture.
  • 2014: Varnish Cache 4.0 and Varnish Plus-era commercial components expand the ecosystem.
  • 2026: Official site describes Varnish Cache as a modern distribution of the open-source Vinyl Cache project.

Related projects

  • Squid is the older cache whose reverse-proxy use case helped motivate Varnish, but Varnish was designed specifically as an HTTP accelerator.
  • Vinyl Cache is the open-source project named by the current Varnish site as the base for the Varnish Cache distribution.
  • Varnish Software provides commercial products, support, and enterprise variants around the open-source cache.

Sources

  • Administrator documentation: https://varnish-cache.readthedocs.io/
  • Official project site: https://www.varnish.org/
  • Poul-Henning Kamp Varnish presentation: https://phk.freebsd.dk/pubs/varnish.pdf
  • Varnish Software 10-year Q&A: https://info.varnish-software.com/blog/celebrating-10-years-of-varnish-cache-qa-with-the-man-behind-the-idea
  • Varnish Software history timeline: https://varnish-software.teamtailor.com/pages/varnish-history?preview=true

security posture

Risk level: orange

formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • formula declares a Homebrew service

Signals

  • metadata:service

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 4 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.

executables

Installed executables

CommandKindExposureNote
varnishadmcliglobal executable
varnishdcliglobal executable
varnishhistcliglobal executable
varnishlogcliglobal executable
varnishlog-jsoncliglobal executable
varnishncsacliglobal executable
varnishstatcliglobal executable
varnishstat_help_gencliglobal executable
varnishtestcliglobal executable
varnishtopcliglobal executable
vtestcliglobal 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 version9.0.3
manager updated2026-06-06
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/varnish/varnish

install metadata

Package metadata

Package keybrew:varnish
Version9.0.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/varnish
Homepagehttps://www.varnish-cache.org/
Repositoryhttps://github.com/varnish/varnish
Upstream docshttps://www.varnish.org/docs
LicenseBSD-2-Clause
Source archivehttps://github.com/varnish/varnish/releases/download/varnish-9.0.3/varnish-9.0.3.tar.gz
Last updated2026-06-06T11:29:14Z
Pulseupdated
Dependenciesopenssl@3, pcre2
Build dependenciesdocutils, graphviz, pkgconf, sphinx-doc
Uses from macOSlibedit, ncurses
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namevarnish
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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%

libvarnishapi-dev 7.7.0-3

development files for Varnish

https://www.varnish-cache.org/

sudo apt install libvarnishapi-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: varnish
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Varnish
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libvarnishapi-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libvarnishapi3 7.7.0-3

shared libraries for Varnish

https://www.varnish-cache.org/

sudo apt install libvarnishapi3
  • Section: libs
  • Architecture: amd64
  • Source Package: varnish
  • 2 dependencies
  • normalized package name match
  • Matched by: Varnish
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libvarnishapi3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

varnish 7.7.0-3

state of the art, high-performance web accelerator

https://www.varnish-cache.org/

sudo apt install varnish
  • Section: web
  • Architecture: amd64
  • 14 dependencies
  • 2 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Varnish
Debian stable package indexes · deb.debian.org · Debian stable package indexes: varnish from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

varnish-doc 7.7.0-3

documentation for Varnish Cache

https://www.varnish-cache.org/

sudo apt install varnish-doc
  • Section: doc
  • Architecture: all
  • Source Package: varnish
  • 3 dependencies
  • normalized package name match
  • Matched by: Varnish
Debian stable package indexes · deb.debian.org · Debian stable package indexes: varnish-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

varnish

nix profile install nixpkgs#varnish
  • normalized package name match
  • Matched by: Varnish
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: varnish from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

libvarnishapi-dev 7.1.1-1.1ubuntu1

development files for Varnish

https://www.varnish-cache.org/

sudo apt install libvarnishapi-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: varnish
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Varnish
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libvarnishapi-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libvarnishapi3 7.1.1-1.1ubuntu1

shared libraries for Varnish

https://www.varnish-cache.org/

sudo apt install libvarnishapi3
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: varnish
  • 2 dependencies
  • normalized package name match
  • Matched by: Varnish
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libvarnishapi3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

varnish 7.1.1-1.1ubuntu1

state of the art, high-performance web accelerator

https://www.varnish-cache.org/

sudo apt install varnish
  • Section: universe/web
  • Architecture: amd64
  • 12 dependencies
  • 2 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Varnish
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: varnish from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

varnish-doc 7.1.1-1.1ubuntu1

documentation for Varnish Cache

https://www.varnish-cache.org/

sudo apt install varnish-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: varnish
  • 2 dependencies
  • normalized package name match
  • Matched by: Varnish
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: varnish-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

varnish 7.7.3-r0

High-performance HTTP accelerator

https://www.varnish-cache.org/

sudo apk add varnish
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: varnish
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Varnish
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: varnish from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

varnish-dbg 7.7.3-r0

High-performance HTTP accelerator (debug symbols)

https://www.varnish-cache.org/

sudo apk add varnish-dbg
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: varnish
  • 1 dependencies
  • normalized package name match
  • Matched by: Varnish
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: varnish-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

varnish-dev 7.7.3-r0

High-performance HTTP accelerator (development files)

https://www.varnish-cache.org/

sudo apk add varnish-dev
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: varnish
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Varnish
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: varnish-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

varnish-doc 7.7.3-r0

High-performance HTTP accelerator (documentation)

https://www.varnish-cache.org/

sudo apk add varnish-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: varnish
  • normalized package name match
  • Matched by: Varnish
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: varnish-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

varnish-libs 7.7.3-r0

Libraries for varnish

https://www.varnish-cache.org/

sudo apk add varnish-libs
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: varnish
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Varnish
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: varnish-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

varnish-openrc 7.7.3-r0

High-performance HTTP accelerator (OpenRC init scripts)

https://www.varnish-cache.org/

sudo apk add varnish-openrc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: varnish
  • normalized package name match
  • Matched by: Varnish
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: varnish-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

varnish 9.0.3-1.fc45

High-performance HTTP accelerator

https://www.varnish-cache.org/

sudo dnf install varnish
  • License: BSD-2-Clause AND (BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain AND Zlib)
  • Category: Unspecified
  • Architecture: i686
  • Source Package: varnish
  • 22 dependencies
  • 7 provides
  • normalized package name match
  • Matched by: Varnish
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: varnish from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment