diff --git a/distribution/install.sh b/distribution/install.sh index 9292ecc8bfa9b2..4cc28abceb7f70 100755 --- a/distribution/install.sh +++ b/distribution/install.sh @@ -12,7 +12,8 @@ set -u # If PACKAGE_ROOT is unset or empty, default it. PACKAGE_ROOT="${PACKAGE_ROOT:-"https://packages.timber.io/vector"}" -VECTOR_VERSION="0.34.1" +# If VECTOR_VERSION is unset or empty, default it. +VECTOR_VERSION="${VECTOR_VERSION:-"0.34.1"}" _divider="--------------------------------------------------------------------------------" _prompt=">>>" _indent=" " diff --git a/website/content/en/docs/setup/installation/manual/vector-installer.md b/website/content/en/docs/setup/installation/manual/vector-installer.md index 370f5f558c4687..315b91c1c90ba1 100644 --- a/website/content/en/docs/setup/installation/manual/vector-installer.md +++ b/website/content/en/docs/setup/installation/manual/vector-installer.md @@ -9,6 +9,12 @@ The Vector installer enables you to install Vector using a platform-agnostic ins curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash ``` +You may use `VECTOR_VERSION` to specify a custom version like below: + +```shell +curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | VECTOR_VERSION=0.34.1 bash +``` + ## Management {{< jump "/docs/administration/management" "vector-executable" >}}