Skip to content

Cannot paste image directly into CLI input on macOS? This used to work earlier...? #15381

Closed as not planned

Description

@epicwhale

What happened?

I can no longer seem to paste an image directly from clipboard (say i copy image from chrome or screenshot the screen into clipboard). I have no trouble pasting these images elsewhere like google doc but gemini-cli does not allow me to paste them in input field.

Tried cmd + v, ctrl + v, opt + v

Also tried default macOS terminal and ghostty terminal. No dice.

What did you expect to happen?

Cmd + V should allow me to paste image directly as per clipboard interaction features of gemini cli

Client information

  • CLI Version: 0.21.3
  • Git Commit: d0cdeda
  • Session ID: cc2999a9-e8e8-41a7-9580-d05df5e31f90
  • Operating System: darwin v25.0.0
  • Sandbox Environment: no sandbox
  • Model Version: auto-gemini-3
  • Memory Usage: 259.1 MB

Login information

Irrelevant

Anything else we need to know?

I recall this used to work weeks ago, so wondering if it's a regression?

Activity

  1. added
    status/need-triage
    on Dec 20, 2025
  2. added
    area/core
    and removed
    status/need-triage
    on Dec 20, 2025
  3. jackwotherspoon commented on Dec 23, 2025

    @jackwotherspoon
    Collaborator

    Hi @epicwhale on mac this is currently Ctrl+V and works fine on latest for me...

    Can you try again? We are working on making this better in the near future and work with Cmd+V, but for now its Ctrl+V:

    Image
  4. DesmondChoy commented on Dec 27, 2025

    @DesmondChoy

    Would really love for this to be broadcasted or announced because I was wondering why this disappeared - it being assigned to Ctrl-V on MacOS is not intuitive at all. But thanks for keeping this feature in.

  5. jackwotherspoon commented on Dec 27, 2025

    @jackwotherspoon
    Collaborator

    I was wondering why this disappeared

    Pasting an image has always been Ctrl-V from my knowledge. It hasn't changed I don't think.

    We are actively working to make image pasting more intuitive and robust so should be improved soon.

  6. epicwhale commented on Dec 27, 2025

    @epicwhale
    Author

    Hi @epicwhale on mac this is currently Ctrl+V and works fine on latest for me...

    Can you try again? We are working on making this better in the near future and work with Cmd+V, but for now its Ctrl+V:

    @jackwotherspoon thanks for the pointers - on further investigation it looks like my multi clipbook manager was overriding the ctrl+v shortcut in an odd way, so back to working now. Although, it still doesn't work inside devcontainers..

    Ctrl + V in devcontainer terminal with gemini cli installed.

    ...                                                                                                                                                                                                                                                                      │
    │        isForcefullyTerminated: false,                                                                                                                                                                                                                                │
    │        exitCode: 1,                                                                                                                                                                                                                                                  │
    │        stdout: '',                                                                                                                                                                                                                                                   │
    │        stderr: "xsel: Can't open display: (null)\n: Inappropriate ioctl for device\n",                                                                                                                                                                               │
    │        stdio: [                                                                                                                                                                                                                                                      │
    │          undefined,                                                                                                                                                                                                                                                  │
    │          '',                                                                                                                                                                                                                                                         │
    │          "xsel: Can't open display: (null)\n: Inappropriate ioctl for device\n"                                                                                                                                                                                      │
    │        ],                                                                                                                                                                                                                                                            │
    │        ipcOutput: [],                                                                                                                                                                                                                                                │
    │        pipedFrom: []                                                                                                                                                                                                                                                 │
    │      },                                                                                                                                                                                                                                                              │
    │      fallbackError: ExecaError: Command failed with exit code 1: /home/vscode/.bun/install/global/node_modules/clipboardy/fallbacks/linux/xsel --clipboard --output                                                                                                  │
    │                                                                                                                                                                                 
    
  7. added
    status/need-triage
    on Jan 14, 2026
  8. slott commented on Feb 8, 2026

    @slott

    I have been wondering the same thing for a long time - cmd + v is indeed the "mac" way and should be the preferred one - not ctrl + v. Just try marking some text and press cmd + c and then cmd + v in the Google CLI and it pastes the text.

  9. gemini-cli commented on Mar 22, 2026

    @gemini-cli
    Contributor

    Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.

    It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.

    Thank you for your contribution!

  10. oemmerson commented on Apr 5, 2026

    @oemmerson

    Cmd+V is still not working in the current version 0.36.0 with Ghostty on macOS Tahoe.

  11. jackwotherspoon commented on Apr 7, 2026

    @jackwotherspoon
    Collaborator

    Cmd+V is still not working in the current version 0.36.0 with Ghostty on macOS Tahoe.

    @oemmerson Pasting images is still done with Ctrl+V on macOS 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalearea/corestatus/need-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions