- Make sure you have installed the latest version of
Neovim 0.5open in new window.
cargoinstalled on your system.
EACCESpermissions when installing packages globallyopen in new window to avoid error when installing packages with npm.
There are a few ways to install LunarVim
No alarms and no surprises:
bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh)
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)
bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/rolling/utils/installer/install-neovim-from-release)
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
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
If reinstalling, also remove the packer_compiled folder
rm -rf ~/.config/lvim/plugin