From 67f50b85f57c6225d9de28ec05a3a9ab9d75472f Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Mon, 15 Sep 2025 18:42:54 -0400 Subject: [PATCH] docs: document the native js runtime --- docs/src/cli/generate.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/cli/generate.md b/docs/src/cli/generate.md index 26bc7e1e..80397820 100644 --- a/docs/src/cli/generate.md +++ b/docs/src/cli/generate.md @@ -63,4 +63,6 @@ Report conflicts in a JSON format. ### `--js-runtime ` The path to the JavaScript runtime executable to use when generating the parser. The default is `node`. -Note that you can also set this with `TREE_SITTER_JS_RUNTIME`. +Note that you can also set this with `TREE_SITTER_JS_RUNTIME`. Starting from version 0.26.0, you can +also pass in `native` to use the native QuickJS runtime that comes bundled with the CLI. This avoids +the dependency on a JavaScript runtime entirely.