Skip to content

Commit 966d5e9

Browse files
committed
Add installtion instructions for tree-sitter-cli to the README.md
1 parent a4bbfdc commit 966d5e9

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ External Requirements:
3232
- Basic utils: `git`, `make`, `unzip`, C Compiler (`gcc`)
3333
- [ripgrep](https://github.com/BurntSushi/ripgrep#installation),
3434
[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)
3536
- Clipboard tool (xclip/xsel/win32yank or other depending on the platform)
3637
- A [Nerd Font](https://www.nerdfonts.com/): optional, provides various icons
3738
- if you have it set `vim.g.have_nerd_font` in `init.lua` to true
@@ -192,7 +193,7 @@ winget install --accept-source-agreements chocolatey.chocolatey
192193
2. install all requirements using choco, exit the previous cmd and
193194
open a new one so that choco path is set, and run in cmd as **admin**:
194195
```
195-
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
196197
```
197198
</details>
198199
<details><summary>WSL (Windows Subsystem for Linux)</summary>
@@ -202,7 +203,7 @@ wsl --install
202203
wsl
203204
sudo add-apt-repository ppa:neovim-ppa/unstable -y
204205
sudo apt update
205-
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
206207
```
207208
</details>
208209

@@ -212,14 +213,14 @@ sudo apt install make gcc ripgrep unzip git xclip neovim
212213
```
213214
sudo add-apt-repository ppa:neovim-ppa/unstable -y
214215
sudo apt update
215-
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
216217
```
217218
</details>
218219
<details><summary>Debian Install Steps</summary>
219220

220221
```
221222
sudo apt update
222-
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
223224
224225
# Now we install nvim
225226
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz
@@ -235,14 +236,14 @@ sudo ln -sf /opt/nvim-linux-x86_64/bin/nvim /usr/local/bin/
235236
<details><summary>Fedora Install Steps</summary>
236237

237238
```
238-
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
239240
```
240241
</details>
241242

242243
<details><summary>Arch Install Steps</summary>
243244

244245
```
245-
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
246247
```
247248
</details>
248249

0 commit comments

Comments
 (0)