Skip to content

Commit 1f57f13

Browse files
committed
Add installtion instructions for tree-sitter-cli to the README.md
1 parent bfed45d commit 1f57f13

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
@@ -25,6 +25,7 @@ External Requirements:
2525
- Basic utils: `git`, `make`, `unzip`, C Compiler (`gcc`)
2626
- [ripgrep](https://github.com/BurntSushi/ripgrep#installation),
2727
[fd-find](https://github.com/sharkdp/fd#installation)
28+
- [tree-sitter CLI](https://github.com/tree-sitter/tree-sitter/blob/master/crates/cli/README.md#installation)
2829
- Clipboard tool (xclip/xsel/win32yank or other depending on the platform)
2930
- A [Nerd Font](https://www.nerdfonts.com/): optional, provides various icons
3031
- if you have it set `vim.g.have_nerd_font` in `init.lua` to true
@@ -185,7 +186,7 @@ winget install --accept-source-agreements chocolatey.chocolatey
185186
2. install all requirements using choco, exit the previous cmd and
186187
open a new one so that choco path is set, and run in cmd as **admin**:
187188
```
188-
choco install -y neovim git ripgrep wget fd unzip gzip mingw make
189+
choco install -y neovim git ripgrep wget fd unzip gzip mingw make tree-sitter
189190
```
190191
</details>
191192
<details><summary>WSL (Windows Subsystem for Linux)</summary>
@@ -195,7 +196,7 @@ wsl --install
195196
wsl
196197
sudo add-apt-repository ppa:neovim-ppa/unstable -y
197198
sudo apt update
198-
sudo apt install make gcc ripgrep unzip git xclip neovim
199+
sudo apt install make gcc ripgrep fd-find treesitter-cli unzip git xclip neovim
199200
```
200201
</details>
201202

@@ -205,14 +206,14 @@ sudo apt install make gcc ripgrep unzip git xclip neovim
205206
```
206207
sudo add-apt-repository ppa:neovim-ppa/unstable -y
207208
sudo apt update
208-
sudo apt install make gcc ripgrep unzip git xclip neovim
209+
sudo apt install make gcc ripgrep fd-find treesitter-cli unzip git xclip neovim
209210
```
210211
</details>
211212
<details><summary>Debian Install Steps</summary>
212213

213214
```
214215
sudo apt update
215-
sudo apt install make gcc ripgrep unzip git xclip curl
216+
sudo apt install make gcc ripgrep fd-find tree-sitter-cli unzip git xclip curl
216217
217218
# Now we install nvim
218219
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz
@@ -228,14 +229,14 @@ sudo ln -sf /opt/nvim-linux-x86_64/bin/nvim /usr/local/bin/
228229
<details><summary>Fedora Install Steps</summary>
229230

230231
```
231-
sudo dnf install -y gcc make git ripgrep fd-find unzip neovim
232+
sudo dnf install -y gcc make git ripgrep fd-find tree-sitter-cli unzip neovim
232233
```
233234
</details>
234235

235236
<details><summary>Arch Install Steps</summary>
236237

237238
```
238-
sudo pacman -S --noconfirm --needed gcc make git ripgrep fd unzip neovim
239+
sudo pacman -S --noconfirm --needed gcc make git ripgrep fd tree-sitter-cli unzip neovim
239240
```
240241
</details>
241242

0 commit comments

Comments
 (0)