Skip navigation
Interactive shell commands in Gemini CLI ๐Ÿš€
0:00 / 0:31

Interactive shell commands in Gemini CLI ๐Ÿš€

Jack Wotherspoon

@JackWoth9811K followers

Visit on X
257 likesDownloadOriginal post

30,174 views

Interactive shell commands in Gemini CLI ๐Ÿš€ Press Ctrl+f to focus on shell commands that require input (ex. npm start, vim, git commit, gcloud, etc) ๐Ÿง‘โ€๐Ÿ’ป You no longer have to jump to a separate terminal or deal with an agentic CLI that โ€œhangsโ€ for interactive commands. โœจ ๐Ÿ‘‡Read the blog linked below to learn more

34 Comments

Comments from the original post on X (Twitter)

  • Jack Wotherspoon's profile picture

    @JackWoth98

    Blog:

    12 likes

  • Harrison Jobe's profile picture

    @harrisonfjobe

    HUGE!! love it!

    3 likes

  • Jack Wotherspoon's profile picture

    @JackWoth98

    Such a nice feature ๐Ÿ˜

  • Harrison Jobe's profile picture

    @harrisonfjobe

    Very excited to try this

    1 like

  • Bessi S's profile picture

    @LLMpsycho

    Brother,please stop with these things. You know what we are waiting for. Ask them to hurry up. I dont wanna renew again Codex.

    3 likes

  • Jack Wotherspoon's profile picture

    @JackWoth98

    @aeitroc I hear you! I am just as eager as you are ๐Ÿ˜‚

    5 likes

  • N. Taylor Mullen's profile picture

    @ntaylormullen

    Such a big win

    3 likes

  • Mao Geng's profile picture

    @gengmao

    Why the cursor doesnโ€™t show in my nvim process inside Gemini cli

    1 like

  • dravidan's profile picture

    @dravidan

    Is this a sneaky way to go get me to burn more tokens ?

    1 like

  • Jack Wotherspoon's profile picture

    @JackWoth98

    I would almost argue the opposite in that it will actually save you tokens. Most interactive commands and the ones i showed in the video (neovim, git commit) work as a pass through and purely execute the command, the LLM is not involved. They have no output, if they did then it would be passed to the LLM as context. This would improve the context the LLM has in my eyes. Previously (and in other agents still) interactive commands will hang and maybe even time out. This can cause the agent to try multiple wrong things and actually burn tokens while being a worse experience.

    4 likes

  • dravidan's profile picture

    @dravidan

    Good to know thanks โ€ฆ

  • Jack Wotherspoon's profile picture

    @JackWoth98

    No problem! Excellent question ๐Ÿค

    1 like

  • Suhrab Khanโšก๏ธ's profile picture

    @suhrabautomates

    Gemini CLI just made interactive shell commands seamless, no more switching terminals or stuck agents.

    1 like

  • Vitalii R.'s profile picture

    @shine_vi

    Thanks for sharing such useful tips! I didn't know about the feature.

    1 like

  • Jack Wotherspoon's profile picture

    @JackWoth98

    My pleasure! ๐Ÿ˜

  • Nshen's profile picture

    @nshen121

    we need Gemini CLI inside nvim ,not the other way around

    1 like

  • Jack Wotherspoon's profile picture

    @JackWoth98

    That I canโ€™t control ๐Ÿ˜‚

  • Nydhal Gharbi ๐Ÿ‡น๐Ÿ‡ณ's profile picture

    @nyd_hal

    @villainesthetic

    1 like

  • Amario's profile picture

    @amariokoro

    I can't wait for Gemini CLI to dominate after Gemini 3.0's release.

    1 like

  • Jack Wotherspoon's profile picture

    @JackWoth98

    @meddi_kada Me too ๐Ÿ˜Ž

    1 like