Installation

Prerequisites

Install

There are a few ways to install LunarVim

Stable

No alarms and no surprises:

bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh)
1

Rolling

All the new features with all the new bugs:

LVBRANCH=rolling bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/rolling/utils/installer/install.sh)
1
bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/rolling/utils/installer/install-neovim-from-release)
1

Make sure to check the troubleshooting section if you encounter any problems.

Tips when running in China

Bandwidth limiting will cause installation failures. To avoid bandwidth issues when downloading content from Github, use a mirror.

GitHub Proxy Mirroropen in new window is a fast mirror for accessing github content. Add the following lines to /etc/hosts to accelerate your installation.

mirror.ghproxy.com github.com
mirror.ghproxy.com raw.githubusercontent.com
1
2

Uninstall

You can remove LunarVim entirely by running the following commands:

rm -rf ~/.local/share/lunarvim

sudo rm /usr/local/bin/lvim

rm ~/.local/bin/lvim

rm -rf ~/.local/share/applications/lvim.desktop
1
2
3
4
5
6
7

If reinstalling, also remove the packer_compiled folder

 rm -rf ~/.config/lvim/plugin
1
Last Updated: 10/10/2021, 3:45:19 PM
Contributors: jamessouth, rebuilt, Abouzar Parvan, Chris, Jan Bronicki, christianchiarulli, 11backslashes, Binx, Binx-Codes, BrightXiaoHan, Chris, Shivom Srivastava, kylo252