summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-08-23 17:18:42 +0200
committerGitHub <[email protected]>2021-08-23 17:18:42 +0200
commit101c6834333ffb06856155054ea77747819ef5fc (patch)
tree342d5eab5e58e97c7b71bb2d56bb68d5aa3ab2da /README.md
parentcc166d05039ac0dda71c4d17f2378f9c5bf2b4eb (diff)
[Refactor] Installer v2 with support for backup (#1052)
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 13 insertions, 3 deletions
diff --git a/README.md b/README.md
index c140c35d..7f2f742d 100644
--- a/README.md
+++ b/README.md
@@ -28,10 +28,20 @@ Make sure you have the newest version of Neovim (0.5).
bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh)
```
-### Installing
-The following command installs LunarVim. Change `LVBRANCH` to the branch you'd like to install. `master` for the stable branch and `rolling` for the latest changes.
+### Customizing the installation
+
+The following options are supported by setting environment variables:
+- `"$LV_REMOTE"` Select a different LunarVim remote [default: 'lunarvim/lunarvim.git']
+- `"$LV_BRANCH"` Select LunarVim's branch [default: 'rolling']
+- `"$INSTALL_PREFIX"` Select LunarVim's install prefix [default: `'$HOME/.local'`]
+- `"$LUNARVIM_RUNTIME_DIR"` Select LunarVim's runtime directory [default: `'$HOME/.local/share/lunarvim'`]
+- `"$LUNARVIM_CONFIG_DIR"` Select LunarVim's configuration directory [default: `'$HOME/.config/lvim'`]
+
+Putting it all together
+
``` bash
-LVBRANCH=rolling bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/rolling/utils/installer/install.sh)
+curl -LSs https://raw.githubusercontent.com/lunarvim/lunarvim/rolling/utils/installer/install.sh -O install.sh
+INSTALL_PREFIX=/tmp/t1 LUNARVIM_CONFIG_DIR=/tmp/t2 LUNARVIM_RUNTIME_DIR=/tmp/t3 bash ./install.sh
```
### BREAKING CHANGE on rolling and master branches