docs(rust): add --locked to installation instructions

This commit is contained in:
Sam Estep 2024-10-30 10:51:46 -04:00 committed by GitHub
parent 55bda0a968
commit c3ec2c251e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ The Tree-sitter CLI allows you to develop, test, and use Tree-sitter grammars fr
You can install the `tree-sitter-cli` with `cargo`:
```sh
cargo install tree-sitter-cli
cargo install --locked tree-sitter-cli
```
or with `npm`: