Installation
Prerequisites
- Make sure you have installed the latest version of
Neovim v0.9.5+
. - Have
git
,make
,pip
,python
,npm
,node
,cargo
andripgrep
installed on your system. - Resolve
EACCES
permissions when installing packages globally to avoid error when installing packages with npm. PowerShell 7+
(for Windows).
Optional Feature Prerequisites
- Install
lazygit
. This enables<leader>gg
to launchlazygit
for integrated and enhanced Git experience while inlvim
.
Release
(Neovim 0.9.5)
No alarms and No surprises:
- Linux/MacOS
- Windows
- Try it first in Docker!
LV_BRANCH='master' bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/master/utils/installer/install.sh)
pwsh -c "`$LV_BRANCH='master'; iwr https://raw.githubusercontent.com/LunarVim/LunarVim/master/utils/installer/install.ps1 -UseBasicParsing | iex"
This is intended just to take a look at the base functionalities, so some interactions may be blocked by the environment.
docker run -w /tmp -it --rm alpine:edge sh -uelic 'addgroup -S lunaruser && adduser -S lunaruser -G lunaruser --shell /bin/sh && apk add yarn git python3 cargo neovim ripgrep alpine-sdk bash curl --update && LV_BRANCH='master' su -c "bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh) --no-install-dependencies" lunaruser && su -c /home/lunaruser/.local/bin/lvim lunaruser'
Nightly
(Neovim 0.10.0)
All the new features with all the new bugs:
- Linux/MacOS
- Windows
- Try it first in Docker!
bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh)
pwsh -c "iwr https://raw.githubusercontent.com/LunarVim/LunarVim/master/utils/installer/install.ps1 -UseBasicParsing | iex"
This is intended just to take a look at the base functionalities, so some interactions may be blocked by the environment.
docker run -w /root -it --rm alpine:edge sh -uelic 'apk add git neovim ripgrep alpine-sdk bash curl --update && bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh) --no-install-dependencies && /root/.local/bin/lvim'
Make sure to check the troubleshooting section if you encounter any problem.
Updating LunarVim
- LunarVim updates to the current LunarVim branch's latest commit.
:LvimUpdate
command in command-line mode.<leader>Lu
using WhichKey.- From the command-line
lvim +LvimUpdate +q
Update the plugins
- Inside LunarVim
:LvimSyncCorePlugins
Uninstall
You can remove LunarVim (including the configuration files) using the bundled uninstall
script
- Linux/MacOS
- Windows
bash ~/.local/share/lunarvim/lvim/utils/installer/uninstall.sh
or
bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/uninstall.sh)
Invoke-WebRequest https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/uninstall.ps1 -UseBasicParsing | Invoke-Expression