This page covers installing Vector from a pre-built archive. These archives
vector binary as well as supporting configuration files.
We recommend installing Vector through a supported container platform or package manager, if possible. These handle permissions, directory creation, and other intricacies covered in the Next Steps section.
- Linux (x86_64)
- Linux (ARM64)
- Linux (ARMv7)
- MacOS (x86_64)
- Windows (x86_64, 7+)
Download & unpack the archive
mkdir -p vector && \curl -sSfL --proto '=https' --tlsv1.2 https://packages.timber.io/vector/0.5.0/vector-x86_64-unknown-linux-musl.tar.gz | \tar xzf - -C vector --strip-components=2
- Latest (0.5.0)
Change into the
vectorinto your $PATHecho "export PATH=\"$(pwd)/vector/bin:$PATH\"" >> $HOME/.profilesource $HOME/.profile
That's it! You can start vector with:vector --config config/vector.toml
The Vector configuration file is located at:
A full spec is located at
config/vector.spec.toml and examples are
config/vector/examples/*. You can learn more about configuring
Vector in the Configuration section.
We highly recommend creating a data directory that Vector can use:
Make sure that this directory is writable by the
Vector offers a global
data_dir option that
you can use to specify the path of your directory.
data_dir = "/var/lib/vector" # default
Vector archives ship with service files in case you need them:
To install Vector into Init.d run:
cp -av etc/init.d/vector /etc/init.d
To install Vector into Systemd run:
cp -av etc/systemd/vector.service /etc/systemd/system
Simply follow the same installation instructions above.