Skip to content

Commit adfbdea

Browse files
authored
README: additional install recipes for various OS (nvim-lua#767)
1 parent 40999d3 commit adfbdea

File tree

1 file changed

+49
-4
lines changed

1 file changed

+49
-4
lines changed

README.md

Lines changed: 49 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ External Requirements:
3535
- etc.
3636

3737
> **NOTE**
38-
> See [Windows Installation](#Windows-Installation) to double check any additional Windows notes
38+
> See [Install Recipes](#Install-Recipes) for additional Windows and Linux specific notes
39+
> and quick install snippets
3940
4041
Neovim's configurations are located under the following paths, depending on your OS:
4142

@@ -182,8 +183,15 @@ return {
182183
* [Restructure the configuration](https://github.com/nvim-lua/kickstart.nvim/issues/218)
183184
* [Reorganize init.lua into a multi-file setup](https://github.com/nvim-lua/kickstart.nvim/pull/473)
184185
185-
### Windows Installation
186+
### Install Recipes
186187
188+
Below you can find OS specific install instructions for Neovim and dependencies.
189+
190+
After installing all the dependencies continue with the [Install Kickstart](#Install-Kickstart) step.
191+
192+
#### Windows Installation
193+
194+
<details><summary>Windows with Microsoft C++ Build Tools and CMake</summary>
187195
Installation may require installing build tools and updating the run command for `telescope-fzf-native`
188196
189197
See `telescope-fzf-native` documentation for [more details](https://github.com/nvim-telescope/telescope-fzf-native.nvim#installation)
@@ -195,7 +203,8 @@ This requires:
195203
```lua
196204
{'nvim-telescope/telescope-fzf-native.nvim', build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' }
197205
```
198-
206+
</details>
207+
<details><summary>Windows with gcc/make using chocolatey</summary>
199208
Alternatively, one can install gcc and make which don't require changing the config,
200209
the easiest way is to use choco:
201210

@@ -211,5 +220,41 @@ open a new one so that choco path is set, and run in cmd as **admin**:
211220
```
212221
choco install -y neovim git ripgrep wget fd unzip gzip mingw make
213222
```
223+
</details>
224+
<details><summary>WSL (Windows Subsystem for Linux)</summary>
225+
226+
```
227+
wsl --install
228+
wsl
229+
sudo add-apt-repository ppa:neovim-ppa/unstable -y
230+
sudo apt update
231+
sudo apt install make gcc ripgrep unzip neovim
232+
```
233+
</details>
234+
235+
#### Linux Install
236+
<details><summary>Ubuntu Install Steps</summary>
237+
238+
```
239+
sudo add-apt-repository ppa:neovim-ppa/unstable -y
240+
sudo apt update
241+
sudo apt install make gcc ripgrep unzip neovim
242+
```
243+
</details>
244+
<details><summary>Debian Install Steps</summary>
245+
246+
```
247+
sudo apt update
248+
sudo apt install make gcc ripgrep unzip git
249+
echo "deb https://deb.debian.org/debian unstable main" | sudo tee -a /etc/apt/sources.list
250+
sudo apt update
251+
sudo apt install -t unstable neovim
252+
```
253+
</details>
254+
<details><summary>Fedora Install Steps</summary>
255+
256+
```
257+
sudo dnf install -y gcc make git ripgrep fd-find neovim
258+
```
259+
</details>
214260

215-
Then, continue with the [Install Kickstart](#Install-Kickstart) step.

0 commit comments

Comments
 (0)