cli
cli copied to clipboard
Failed to install when using Git (bash) for Windows
From the Git bash prompt:
$ npm install -g @googleworkspace/cli
npm error code 1
npm error path C:\Users\Stephen\AppData\Roaming\npm\node_modules\@googleworkspace\cli
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node ./install.js
npm error Downloading release from https://github.com/googleworkspace/cli/releases/download/v0.4.4/gws-x86_64-pc-windows-msvc.tar.gz
npm error Error fetching release: An error occurred untarring the artifact: stdout: ; stderr: tar: Cannot connect to C: resolve failed
npm error A complete log of this run can be found in: C:\Users\Stephen\AppData\Local\npm-cache\_logs\2026-03-05T09_39_20_775Z-debug-0.log
2026-03-05T09_39_20_775Z-debug-0.log
From the PowerShell prompt:
PS C:\_Code\GWS> npm install -g @googleworkspace/cli
added 43 packages in 4s
Is this still an issue?
From the Git for Windows bash prompt:
$ npm install @googleworkspace/cli
added 44 packages in 21s
I now works! 🤓