Skip to content

failure to install bruin cli in git bash or with bruin plugin. #1397

@byte-opps

Description

@byte-opps

I did have it installed and working on windows11, although it was painfully slow. So slow that the plugin suggested that i install the CLI, even when it did work. Example if i clicked validate/run it would work after a long wait. I am a local admin on my computer but there are also Domain controls and Domain antivirus I can't control. If I know what to ask for I could request a change, I don't think i'll get much help for the IT dept as it's not on the supported software list.

I tried to improve performance by uninstalling git bash and installing it in c:\program files\git what I was hoping was that this path was excluded from excessive antivirus scanning. Git bash works and is updated although it still feels slow ish and i notice that i have c:\msys64 and c:\cygwin64 folders on the root of the c drive, something that I was looking to avoid.

But I can't get the cli to work at all now.

This is what happens when i press the plugin install cli button.

bash.exe: warning: could not find /tmp, please create!
/usr/bin/bash: line 1: sh: command not found
curl: (23) Failure writing output to destination, passed 2756 returned 2718

  • The terminal process "C:\Program Files\PowerShell\7\pwsh.exe -Command C:\Users\stevr99\AppData\Local\Temp\bruin-install.bat" terminated with exit code: 1.

  • Terminal will be reused by tasks, press any key to close it.

  • Executing task: C:\Users\stevr99\AppData\Local\Temp\bruin-install.bat

I have tried to run the command inside git bash, I don't understand why I would get this error.

MINGW64 ~
$ curl -LsSf https://getbruin.com/install/cli | sh
bruin-data/bruin info checking GitHub for latest tag
bruin-data/bruin info found version: 0.11.376 for v0.11.376/Windows/x86_64
Archive: bruin_Windows_x86_64.zip
inflating: LICENSE.md
inflating: README.md
inflating: bruin.exe
install: cannot open '/tmp/tmp.jzgVtL06oc/bruin' for reading: Permission denied

$ stat /tmp/tmp.jzgVtL06oc/bruin.exe
File: /tmp/tmp.jzgVtL06oc/bruin.exe
Size: 133620224 Blocks: 130492 IO Block: 65536 regular file
Device: b8acff2ch/3098345260d Inode: 5348024557693594 Links: 1
Access: (0755/-rwxr-xr-x) Uid: (1103113/ steve) Gid: (1049089/ UNKNOWN)
Access: 2025-12-01 16:02:45.000000000 +0000
Modify: 2025-12-01 16:02:45.000000000 +0000
Change: 2025-12-02 10:40:46.289458300 +0000
Birth: 2025-12-02 10:40:45.506585100 +0000

Any Help or ideas would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions