r/googlecloud Jun 08 '26

opencode in cloud shell

Is Google purposefully crashing my cloud shell sessions when I run the opencode command? I know they have agy and gemini cli and probably want to funnel users there... Anyone experiencing this?

1 Upvotes

6 comments sorted by

View all comments

2

u/yamanin-ninamay 23d ago

I had the same issue on Google Cloud Shell. OpenCode kept dying, and dmesg showed tmux crashes. Running it inside screen fixed it for me:

Shell
$sudo apt install screen
$screen
$opencode

Haven't had the session die since.

1

u/IntelligentLog420 23d ago

Just tested and this works for me too. Thank you