From 303657bcdfb2e27ce25d15061217146b62566244 Mon Sep 17 00:00:00 2001 From: Paolo Moretti Date: Thu, 26 Feb 2026 23:43:30 +0100 Subject: [PATCH] feat: make INSTALL_PATH overridable in install script (#3954) Allow users to override the installation path by setting the INSTALL_PATH environment variable before running the script. This can be useful in CI environments such as CircleCI where the default /usr/local/bin path requires sudo privileges that may not be available or desired. Usage: - Default: curl -sSL https://get.livekit.io/cli | bash - Custom: INSTALL_PATH="$HOME/.local/bin" curl -sSL https://get.livekit.io/cli | bash --- install-livekit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-livekit.sh b/install-livekit.sh index e0b243a81..ea1dca89a 100755 --- a/install-livekit.sh +++ b/install-livekit.sh @@ -21,7 +21,7 @@ set -o errexit set -o pipefail REPO="livekit" -INSTALL_PATH="/usr/local/bin" +INSTALL_PATH="${INSTALL_PATH:-/usr/local/bin}" log() { printf "%b\n" "$*"; } abort() {