From 9256be3effb0880ac04c00f7fd13622f04a251c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Levy?= Date: Tue, 26 Nov 2024 11:42:15 +0000 Subject: [PATCH] docs(install): added howto for overriding env vars --- scripts/install.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/scripts/install.md b/scripts/install.md index 63ade451..565b74e7 100644 --- a/scripts/install.md +++ b/scripts/install.md @@ -8,6 +8,20 @@ Run the command below in your terminal. curl -fsSL https://fvm.app/install.sh | bash ``` +FVM will be installed to the following paths. + +```bash +FVM_DIR="$HOME/.fvm_flutter}" +FVM_DIR_BIN="$HOME/bin}" +SYMLINK_TARGET="/usr/local/bin/fvm" +``` + +Target paths can be overridden using environment variables. + +```bash +curl -fsSL https://fvm.app/install.sh | FVM_SYMLINK_TARGET=$HOME/.local/bin/fvm bash +``` + ### Install FVM on Windows **Run as Admin**: Open PowerShell as Administrator.