diff --git a/cli/npm/install.js b/cli/npm/install.js index 875c38c0..4e7e82db 100755 --- a/cli/npm/install.js +++ b/cli/npm/install.js @@ -24,7 +24,7 @@ if (!archName) { throw new Error(`Cannot install tree-sitter-cli for architecture ${process.arch}`); } -const releaseURL = `https://github.com/tree-sitter/tree-sitter/releases/download/${packageJSON.version}`; +const releaseURL = `https://github.com/tree-sitter/tree-sitter/releases/download/v${packageJSON.version}`; const assetName = `tree-sitter-${platformName}-${archName}.gz`; const assetURL = `${releaseURL}/${assetName}`;