Run Gemini CLI
1
Start Gemini CLI
2
Start another session
After leaving Gemini CLI, return to the same sandbox and workspace with:
3
Verify the installation
Exit the TUI and run:The pinned example prints
0.52.0.4
Export changes
Create a patch inside the sandbox:Copy the patch to the host:Check that it applies cleanly before applying it:
5
Clean up
Remove the sandbox:Remove persisted Gemini data only when you no longer need it: