| sidebar_position | 2 |
|---|
You can find a starter template for LazyVim here
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
Mani Arasteh (@ManiProjs) made an script named LazyInstaller. If you don't want to manually do these things below, you can use this script by Mani Arasteh if you use macOS or Linux:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ManiProjs/lazyinstaller/refs/heads/main/install.sh)"
Follow the guide below to install manually
Install the LazyVim Starter
-
Make a backup of your current Neovim files:
# required mv ~/.config/nvim{,.bak} # optional but recommended mv ~/.local/share/nvim{,.bak} mv ~/.local/state/nvim{,.bak} mv ~/.cache/nvim{,.bak}
-
Clone the starter
git clone https://github.com/LazyVim/starter ~/.config/nvim -
Remove the
.gitfolder, so you can add it to your own repo laterrm -rf ~/.config/nvim/.git -
Start Neovim!
nvim
Refer to the comments in the files on how to customize LazyVim.
Install the LazyVim Starter with PowerShell
-
Make a backup of your current Neovim files:
# required Move-Item $env:LOCALAPPDATA\nvim $env:LOCALAPPDATA\nvim.bak # optional but recommended Move-Item $env:LOCALAPPDATA\nvim-data $env:LOCALAPPDATA\nvim-data.bak
-
Clone the starter
git clone https://github.com/LazyVim/starter $env:LOCALAPPDATA\nvim
-
Remove the
.gitfolder, so you can add it to your own repo laterRemove-Item $env:LOCALAPPDATA\nvim\.git -Recurse -Force
-
Start Neovim!
nvim
Refer to the comments in the files on how to customize LazyVim.
docker run -w /root -it --rm alpine:edge sh -uelic '
apk add git lazygit fzf curl neovim ripgrep alpine-sdk --update
git clone https://github.com/LazyVim/starter ~/.config/nvim
cd ~/.config/nvim
nvim
':::tip
It is recommended to run :LazyHealth after installation.
This will load all plugins and check if everything is working correctly.
:::