What happened?
Hello,
It is currently not possible to install the Gemini CLI i.e. with the command npm install -g @google/gemini-cli
All installation attempts result in the following error:
npm error code 1 npm error path /home/user/.nvm/versions/node/v22.19.0/lib/node_modules/@google/gemini-cli/node_modules/@lvce-editor/ripgrep npm error command failed npm error command sh -c node ./src/postinstall.js npm error { VERSION: 'v13.0.0-10' } npm error node:internal/process/promises:394 npm error triggerUncaughtException(err, true /* fromPromise */); npm error ^ npm error npm error VError: Failed to download "https://github.com/microsoft/ripgrep-prebuilt/releases/download/v13.0.0-10/ripgrep-v13.0.0-10-x86_64-unknown-linux-musl.tar.gz": RequestError: connect ETIMEDOUT 140.82.121.4:443 npm error at ClientRequest.<anonymous> (file:///home/user/.nvm/versions/node/v22.19.0/lib/node_modules/@google/gemini-cli/node_modules/got/dist/source/core/index.js:673:107) npm error at Object.onceWrapper (node:events:634:26) npm error at ClientRequest.emit (node:events:531:35) npm error at emitErrorEvent (node:_http_client:105:11) npm error at TLSSocket.socketErrorListener (node:_http_client:518:5) npm error at TLSSocket.emit (node:events:519:28) npm error at emitErrorNT (node:internal/streams/destroy:170:8) npm error at emitErrorCloseNT (node:internal/streams/destroy:129:3) npm error at process.processTicksAndRejections (node:internal/process/task_queues:90:21) npm error at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) { npm error code: 'ETIMEDOUT' npm error } npm error
I have verified that the file (https://github.com/microsoft/ripgrep-prebuilt/releases/download/v13.0.0-10/ripgrep-v13.0.0-10-x86_64-unknown-linux-musl.tar.gz) is downloadable manually (e.g. with curl), but the installation script fails to fetch it.
This issue is a blocker for users.
Please prioritize a fix for this as soon as possible.
Thank you.
What did you expect to happen?
The installation should work as it used to.
Client information
Client Information
> /about
Gemini CLI Version 0.3.2
Login information
No response
Anything else we need to know?
No response
What happened?
Hello,
It is currently not possible to install the Gemini CLI i.e. with the command
npm install -g @google/gemini-cliAll installation attempts result in the following error:
npm error code 1 npm error path /home/user/.nvm/versions/node/v22.19.0/lib/node_modules/@google/gemini-cli/node_modules/@lvce-editor/ripgrep npm error command failed npm error command sh -c node ./src/postinstall.js npm error { VERSION: 'v13.0.0-10' } npm error node:internal/process/promises:394 npm error triggerUncaughtException(err, true /* fromPromise */); npm error ^ npm error npm error VError: Failed to download "https://github.com/microsoft/ripgrep-prebuilt/releases/download/v13.0.0-10/ripgrep-v13.0.0-10-x86_64-unknown-linux-musl.tar.gz": RequestError: connect ETIMEDOUT 140.82.121.4:443 npm error at ClientRequest.<anonymous> (file:///home/user/.nvm/versions/node/v22.19.0/lib/node_modules/@google/gemini-cli/node_modules/got/dist/source/core/index.js:673:107) npm error at Object.onceWrapper (node:events:634:26) npm error at ClientRequest.emit (node:events:531:35) npm error at emitErrorEvent (node:_http_client:105:11) npm error at TLSSocket.socketErrorListener (node:_http_client:518:5) npm error at TLSSocket.emit (node:events:519:28) npm error at emitErrorNT (node:internal/streams/destroy:170:8) npm error at emitErrorCloseNT (node:internal/streams/destroy:129:3) npm error at process.processTicksAndRejections (node:internal/process/task_queues:90:21) npm error at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) { npm error code: 'ETIMEDOUT' npm error } npm errorI have verified that the file (https://github.com/microsoft/ripgrep-prebuilt/releases/download/v13.0.0-10/ripgrep-v13.0.0-10-x86_64-unknown-linux-musl.tar.gz) is downloadable manually (e.g. with curl), but the installation script fails to fetch it.
This issue is a blocker for users.
Please prioritize a fix for this as soon as possible.
Thank you.
What did you expect to happen?
The installation should work as it used to.
Client information
Client Information
Login information
No response
Anything else we need to know?
No response