Installation
Prerequisites
- Make sure you have installed the latest version of
Neovim v0.9.0+
. - 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 intergrated and enhanced Git experience while inlvim
.
Release
(Neovim 0.9.0)
No alarms and No surprises:
- Linux/MacOs
- Windows
- Try it first in Docker!
LV_BRANCH='release-1.3/neovim-0.9' bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.3/neovim-0.9/utils/installer/install.sh)
pwsh -c "`$LV_BRANCH='release-1.3/neovim-0.9'; iwr https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.3/neovim-0.9/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='release-1.3/neovim-0.9' su -c "bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/release-1.3/neovim-0.9/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
- Inside LunarVim
:LvimUpdate
- 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