Get up and running with Vector on your preferred platform
Vector compiles to a single static binary, which makes it easy to install.
On *nix systems Vector’s only dependency is
libc. Your operating system should generally provide this
We also release Vector artifacts that are statically linked with
musl for the
which results in a static binary with no dependencies (these have
musl in their name). These dependency-free
artifacts can be useful in stripped-down environments that don’t provide a built-in
This light-weight script detects your platform and determine the best method for installing Vector:
curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash -s -- -y
You can use the
--prefix option to specify a custom installation directory. This is
especially useful in automated environments (for example Dockerfiles).
The following command adds the required binaries to
$PATH without modifying your profiles.
RUN apk add --no-cache curl bash && \ curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash -s -- -y --prefix /usr/local
If you prefer a more granular method for installing Vector, check out these subsections of the documentation for alternatives: