Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips & Traps

  1. 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.

  2. You can do concurrent tasks by opening multiple Gemini CLI (in a multiplexing tool, say Zellij).

  3. 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."
  4. Gemini CLI allows you run shell commands directly by prefixing it with an exclamation mark (!) similar to IPython.

  5. Use /help for more information on Gemini CLI.

References