Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips & Traps
-
Gemini CLI is extremely useful as it doesn't requires your favorite IDE to have integration with LLM tools. You can use whichever IDE you like. What you need is just a terminal.
-
You can do concurrent tasks by opening multiple Gemini CLI (in a multiplexing tool, say Zellij).
-
You can pipe output of another command into Gemini. Below is such an example.
git diff --cached | gemini -p "Generate a conventional commits message based on this diff. Output only the message."
-
Gemini CLI allows you run shell commands directly by prefixing it with an exclamation mark (!) similar to IPython.
-
Use
/help
for more information on Gemini CLI.