
Gemini CLI hangs silently on startup and never respond, process is alive but frozen
I’ve been using Gemini cli working on my Linux machine (Ubuntu , node v22.22.1) and I am stuck. I have 0.37.1 installed and the problem is that it hangs indefinitely on any command. The process is slaws and stay alive , but it never actually does anything - it just freeze silently. The version check and help command work fine, and I can reach google’s API without issues , but the moment I try to run interactive mode or use the headless -p flag , it just hangs forever with no error message at all.
I’ve tried everything. Full uninstall and reinstall, deleted and recreated my config from scratch , even updated from 0.36.0 to 0.37.1. Thinking it was a version bug. I created file permisssion, clean up temp directories , verify network connectivity- nothing helps. It just sit there waiting for that never comes. The 0Auth flow also hangs during authentication, which tells me it’s not the auth problem but something deeper in the initialization.
I’m just sharing my experience here in case anyone else has hit this. Thanks to everyone who might have suggestions or insights. If you faced the same issue with Gemini Cli hanging like this ,
did you figure out what was causing it ?
What worked for you ?
Any help would be greatly appreciated.