macOS
brew install varnishlocal Homebrew formula metadata
sudo port install varnishMacPorts ports tree · www/varnish/Portfile · source: api.github.com
brew
High-performance HTTP accelerator. Version 9.0.3 via Homebrew; verified 2026-06-06.
install
brew install varnishlocal Homebrew formula metadata
sudo port install varnishMacPorts ports tree · www/varnish/Portfile · source: api.github.com
sudo apk add varnishAlpine Linux edge package indexes · varnish · source: dl-cdn.alpinelinux.org
sudo apt install libvarnishapi-devDebian stable package indexes · libvarnishapi-dev · source: deb.debian.org
sudo dnf install varnishFedora Rawhide package metadata · varnish · source: dl.fedoraproject.org
nix profile install nixpkgs#varnishnixpkgs package indexes · varnish · source: raw.githubusercontent.com
overview
High-performance HTTP accelerator
history
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.
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.
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.
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.
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.
security posture
formula declares a Homebrew service.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
varnishadm | cli | global executable | |
varnishd | cli | global executable | |
varnishhist | cli | global executable | |
varnishlog | cli | global executable | |
varnishlog-json | cli | global executable | |
varnishncsa | cli | global executable | |
varnishstat | cli | global executable | |
varnishstat_help_gen | cli | global executable | |
varnishtest | cli | global executable | |
varnishtop | cli | global executable | |
vtest | cli | global executable |
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.
https://github.com/varnish/varnish
install metadata
| Package key | brew:varnish |
|---|---|
| Version | 9.0.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/varnish |
| Homepage | https://www.varnish-cache.org/ |
| Repository | https://github.com/varnish/varnish |
| Upstream docs | https://www.varnish.org/docs |
| License | BSD-2-Clause |
| Source archive | https://github.com/varnish/varnish/releases/download/varnish-9.0.3/varnish-9.0.3.tar.gz |
| Last updated | 2026-06-06T11:29:14Z |
| Pulse | updated |
| Dependencies | openssl@3, pcre2 |
| Build dependencies | docutils, graphviz, pkgconf, sphinx-doc |
| Uses from macOS | libedit, ncurses |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | varnish |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libvarnishapi-dev 7.7.0-3
development files for Varnish
https://www.varnish-cache.org/
sudo apt install libvarnishapi-devlibvarnishapi3 7.7.0-3
shared libraries for Varnish
https://www.varnish-cache.org/
sudo apt install libvarnishapi3varnish 7.7.0-3
state of the art, high-performance web accelerator
https://www.varnish-cache.org/
sudo apt install varnishvarnish-doc 7.7.0-3
documentation for Varnish Cache
https://www.varnish-cache.org/
sudo apt install varnish-docvarnish
nix profile install nixpkgs#varnishlibvarnishapi-dev 7.1.1-1.1ubuntu1
development files for Varnish
https://www.varnish-cache.org/
sudo apt install libvarnishapi-devlibvarnishapi3 7.1.1-1.1ubuntu1
shared libraries for Varnish
https://www.varnish-cache.org/
sudo apt install libvarnishapi3varnish 7.1.1-1.1ubuntu1
state of the art, high-performance web accelerator
https://www.varnish-cache.org/
sudo apt install varnishvarnish-doc 7.1.1-1.1ubuntu1
documentation for Varnish Cache
https://www.varnish-cache.org/
sudo apt install varnish-docvarnish 7.7.3-r0
High-performance HTTP accelerator
https://www.varnish-cache.org/
sudo apk add varnishvarnish-dbg 7.7.3-r0
High-performance HTTP accelerator (debug symbols)
https://www.varnish-cache.org/
sudo apk add varnish-dbgvarnish-dev 7.7.3-r0
High-performance HTTP accelerator (development files)
https://www.varnish-cache.org/
sudo apk add varnish-devvarnish-doc 7.7.3-r0
High-performance HTTP accelerator (documentation)
https://www.varnish-cache.org/
sudo apk add varnish-docvarnish-libs 7.7.3-r0
Libraries for varnish
https://www.varnish-cache.org/
sudo apk add varnish-libsvarnish-openrc 7.7.3-r0
High-performance HTTP accelerator (OpenRC init scripts)
https://www.varnish-cache.org/
sudo apk add varnish-openrcvarnish 9.0.3-1.fc45
High-performance HTTP accelerator
https://www.varnish-cache.org/
sudo dnf install varnishsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.