@@ -17,28 +17,38 @@ A starting point for Neovim that is:
1717Kickstart.nvim targets * only* the latest
1818[ 'stable'] ( https://github.com/neovim/neovim/releases/tag/stable ) and latest
1919[ 'nightly'] ( https://github.com/neovim/neovim/releases/tag/nightly ) of Neovim.
20- If you are experiencing issues, please make sure you have the latest versions.
20+ If you are experiencing issues, please make sure you have at least the latest
21+ stable version. Most likely, you want to install neovim via a [ package
22+ manager] ( https://github.com/neovim/neovim/blob/master/INSTALL.md#install-from-package ) .
23+ To check your neovim version, run ` nvim --version ` and make sure it is not
24+ below the latest
25+ [ 'stable'] ( https://github.com/neovim/neovim/releases/tag/stable ) version. If
26+ your chosen install method only gives you an outdated version of neovim, find
27+ alternative [ installation methods below] ( #alternative-neovim-installation-methods ) .
2128
2229### Install External Dependencies
2330
2431External Requirements:
2532- Basic utils: ` git ` , ` make ` , ` unzip ` , C Compiler (` gcc ` )
26- - [ ripgrep] ( https://github.com/BurntSushi/ripgrep#installation )
33+ - [ ripgrep] ( https://github.com/BurntSushi/ripgrep#installation ) ,
34+ [ fd-find] ( https://github.com/sharkdp/fd#installation )
35+ - [ tree-sitter CLI] ( https://github.com/tree-sitter/tree-sitter/blob/master/crates/cli/README.md#installation )
2736- Clipboard tool (xclip/xsel/win32yank or other depending on the platform)
2837- A [ Nerd Font] ( https://www.nerdfonts.com/ ) : optional, provides various icons
2938 - if you have it set ` vim.g.have_nerd_font ` in ` init.lua ` to true
39+ - Emoji fonts (Ubuntu only, and only if you want emoji!) ` sudo apt install fonts-noto-color-emoji `
3040- Language Setup:
3141 - If you want to write Typescript, you need ` npm `
3242 - If you want to write Golang, you will need ` go `
3343 - etc.
3444
35- > ** NOTE**
45+ > [ ! NOTE]
3646> See [ Install Recipes] ( #Install-Recipes ) for additional Windows and Linux specific notes
3747> and quick install snippets
3848
3949### Install Kickstart
4050
41- > ** NOTE**
51+ > [ ! NOTE]
4252> [ Backup] ( #FAQ ) your previous configuration (if any exists)
4353
4454Neovim's configurations are located under the following paths, depending on your OS:
@@ -55,7 +65,7 @@ Neovim's configurations are located under the following paths, depending on your
5565so that you have your own copy that you can modify, then install by cloning the
5666fork to your machine using one of the commands below, depending on your OS.
5767
58- > ** NOTE**
68+ > [ ! NOTE]
5969> Your fork's URL will be something like this:
6070> ` https://github.com/<your_github_username>/kickstart.nvim.git `
6171
@@ -64,7 +74,8 @@ too - it's ignored in the kickstart repo to make maintenance easier, but it's
6474[ recommended to track it in version control] ( https://lazy.folke.io/usage/lockfile ) .
6575
6676#### Clone kickstart.nvim
67- > ** NOTE**
77+
78+ > [ !NOTE]
6879> If following the recommended step above (i.e., forking the repo), replace
6980> ` nvim-lua ` with ` <your_github_username> ` in the commands below
7081
@@ -151,7 +162,7 @@ examples of adding popularly requested plugins.
151162
152163Below you can find OS specific install instructions for Neovim and dependencies.
153164
154- After installing all the dependencies continue with the [Install Kickstart](#Install-Kickstart ) step.
165+ After installing all the dependencies continue with the [Install Kickstart](#install-kickstart ) step.
155166
156167#### Windows Installation
157168
@@ -182,7 +193,7 @@ winget install --accept-source-agreements chocolatey.chocolatey
1821932 . install all requirements using choco, exit the previous cmd and
183194open a new one so that choco path is set, and run in cmd as ** admin** :
184195```
185- choco install -y neovim git ripgrep wget fd unzip gzip mingw make
196+ choco install -y neovim git ripgrep wget fd unzip gzip mingw make tree-sitter
186197```
187198</details >
188199<details ><summary >WSL (Windows Subsystem for Linux)</summary >
@@ -192,7 +203,7 @@ wsl --install
192203wsl
193204sudo add-apt-repository ppa:neovim-ppa/unstable -y
194205sudo apt update
195- sudo apt install make gcc ripgrep unzip git xclip neovim
206+ sudo apt install make gcc ripgrep fd-find tree-sitter-cli unzip git xclip neovim
196207```
197208</details >
198209
@@ -202,37 +213,111 @@ sudo apt install make gcc ripgrep unzip git xclip neovim
202213```
203214sudo add-apt-repository ppa:neovim-ppa/unstable -y
204215sudo apt update
205- sudo apt install make gcc ripgrep unzip git xclip neovim
216+ sudo apt install make gcc ripgrep fd-find tree-sitter-cli unzip git xclip neovim
206217```
207218</details >
208219<details ><summary >Debian Install Steps</summary >
209220
210221```
211222sudo apt update
212- sudo apt install make gcc ripgrep unzip git xclip curl
223+ sudo apt install make gcc ripgrep fd-find tree-sitter-cli unzip git xclip curl
213224
214225# Now we install nvim
215- curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64 .tar.gz
216- sudo rm -rf /opt/nvim-linux64
217- sudo mkdir -p /opt/nvim-linux64
218- sudo chmod a+rX /opt/nvim-linux64
219- sudo tar -C /opt -xzf nvim-linux64 .tar.gz
226+ curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64 .tar.gz
227+ sudo rm -rf /opt/nvim-linux-x86_64
228+ sudo mkdir -p /opt/nvim-linux-x86_64
229+ sudo chmod a+rX /opt/nvim-linux-x86_64
230+ sudo tar -C /opt -xzf nvim-linux-x86_64 .tar.gz
220231
221232# make it available in /usr/local/bin, distro installs to /usr/bin
222- sudo ln -sf /opt/nvim-linux64 /bin/nvim /usr/local/bin/
233+ sudo ln -sf /opt/nvim-linux-x86_64 /bin/nvim /usr/local/bin/
223234```
224235</details >
225236<details ><summary >Fedora Install Steps</summary >
226237
227238```
228- sudo dnf install -y gcc make git ripgrep fd-find unzip neovim
239+ sudo dnf install -y gcc make git ripgrep fd-find tree-sitter-cli unzip neovim
229240```
230241</details >
231242
232243<details ><summary >Arch Install Steps</summary >
233244
234245```
235- sudo pacman -S --noconfirm --needed gcc make git ripgrep fd unzip neovim
246+ sudo pacman -S --noconfirm --needed gcc make git ripgrep fd tree-sitter-cli unzip neovim
236247```
237248</details >
238249
250+ ### Alternative neovim installation methods
251+
252+ For some systems it is not unexpected that the [ package manager installation
253+ method] ( https://github.com/neovim/neovim/blob/master/INSTALL.md#install-from-package )
254+ recommended by neovim is significantly behind. If that is the case for you,
255+ pick one of the following methods that are known to deliver fresh neovim versions very quickly.
256+ They have been picked for their popularity and because they make installing and updating
257+ neovim to the latest versions easy. You can also find more detail about the
258+ available methods being discussed
259+ [ here] ( https://github.com/nvim-lua/kickstart.nvim/issues/1583 ) .
260+
261+
262+ <details ><summary >Bob</summary >
263+
264+ [ Bob] ( https://github.com/MordechaiHadad/bob ) is a Neovim version manager for
265+ all platforms. Simply install
266+ [ rustup] ( https://rust-lang.github.io/rustup/installation/other.html ) ,
267+ and run the following commands:
268+
269+ ``` bash
270+ rustup default stable
271+ rustup update stable
272+ cargo install bob-nvim
273+ bob use stable
274+ ```
275+
276+ </details >
277+
278+ <details ><summary >Homebrew</summary >
279+
280+ [ Homebrew] ( https://brew.sh ) is a package manager popular on Mac and Linux.
281+ Simply install using [ ` brew install ` ] ( https://formulae.brew.sh/formula/neovim ) .
282+
283+ </details >
284+
285+ <details ><summary >Flatpak</summary >
286+
287+ Flatpak is a package manager for applications that allows developers to package their applications
288+ just once to make it available on all Linux systems. Simply [ install flatpak] ( https://flatpak.org/setup/ )
289+ and setup [ flathub] ( https://flathub.org/setup ) to [ install neovim] ( https://flathub.org/apps/io.neovim.nvim ) .
290+
291+ </details >
292+
293+ <details ><summary >asdf and mise-en-place</summary >
294+
295+ [ asdf] ( https://asdf-vm.com/ ) and [ mise] ( https://mise.jdx.dev/ ) are tool version managers,
296+ mostly aimed towards project-specific tool versioning. However both support managing tools
297+ globally in the user-space as well:
298+
299+ <details ><summary >mise</summary >
300+
301+ [ Install mise] ( https://mise.jdx.dev/getting-started.html ) , then run:
302+
303+ ``` bash
304+ mise plugins install neovim
305+ mise use neovim@stable
306+ ```
307+
308+ </details >
309+
310+ <details ><summary >asdf</summary >
311+
312+ [ Install asdf] ( https://asdf-vm.com/guide/getting-started.html ) , then run:
313+
314+ ``` bash
315+ asdf plugin add neovim
316+ asdf install neovim stable
317+ asdf set neovim stable --home
318+ asdf reshim neovim
319+ ```
320+
321+ </details >
322+
323+ </details >
0 commit comments