- 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 alarm or surprise:
bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh)
All the new features with all the new bugs:
LV_BRANCH=rolling bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/rolling/utils/installer/install.sh)
You can use this helper script to get the latest neovim binary as well:
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 problem.
Tips for users in Mainland China
Connection issues may cause installation failures. To avoid them when downloading content from GitHub, please use a mirror.
For example, 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 (including the configuration files) using the bundled
bash ~/.local/share/lunarvim/lvim/utils/installer/uninstall.sh # or bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/uninstall.sh)