Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'colima: command not found' unless launched via Terminal. $PATH issue? #1

Open
pheck opened this issue Aug 27, 2024 · 0 comments
Open

Comments

@pheck
Copy link

pheck commented Aug 27, 2024

Actual Behaviour
When I start Colima GUI via Finder or Spotlight,
then the app launches, but any button / command results in sh: colima: command not found

Expected Behaviour
Colima GUI can detect the colima binary and launch commands successfully.
The GUI app should check "default" locations (see below) to find the required binary

Additional information / Workaround
It seems that PATH for GUI Applications (don't know much about macos-specifics here) is configured differently than within Terminals - obviously colima can't be found:
image

I've installed colima via brew, so directories should be pretty much standard:

❯ brew --prefix
/opt/homebrew
❯ which colima
/opt/homebrew/bin/colima

In my Terminal, PATH is properly set to find homebrew-managed programs and if I start Colima GUI here, it'll find colima and works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant