kubectl-ai icon indicating copy to clipboard operation
kubectl-ai copied to clipboard

Suggestion: Homebrew Support for kubectl-ai Installation

Open tuannvm opened this issue 8 months ago • 7 comments

Wouldn't it be better to run homebrew install kubectl-ai to get the latest version instead of downloading the binary every time? I’m happy to help with the Homebrew configuration if needed.

tuannvm avatar May 05 '25 17:05 tuannvm

It will ofc will be better :)

Will it add extra manual steps to our release process ?

droot avatar May 05 '25 18:05 droot

@droot

We can automate this using GitHub Actions. I have a reference implementation in my repository.

The build step triggers homebrew build

tuannvm avatar May 05 '25 20:05 tuannvm

Like the automation setup. @tuannvm pl. go ahead whenever convenient. No rush.

droot avatar May 06 '25 02:05 droot

@droot We have two options:

  • If you can help fork the official repo https://github.com/Homebrew/homebrew-cask to GoogleCloudPlatform, then the installation would be:

    brew install --cask kubectl-ai
    
  • If you prefer to start from scratch, then we can have a new repo at https://github.com/GoogleCloudPlatform/homebrew-kubectl-ai, then do:

# Add the tap
brew tap GoogleCloudPlatform/kubectl-ai

# Install the package
brew install kubectl-ai

tuannvm avatar May 07 '25 00:05 tuannvm

Interesting. Creating a new repo under GoogleCloudPlatform is probably not feasible in the short term. Any other options ?

droot avatar May 07 '25 04:05 droot

Plan B :)

https://github.com/GoogleCloudPlatform/kubectl-ai/pull/150

@droot please take a look. Thanks!

tuannvm avatar May 07 '25 06:05 tuannvm

+

qdrddr avatar May 07 '25 13:05 qdrddr

With these two distribution channels available, Homebrew become less important. Close the issue for now. https://github.com/GoogleCloudPlatform/kubectl-ai/issues/181 https://github.com/GoogleCloudPlatform/kubectl-ai/pull/150

tuannvm avatar May 09 '25 17:05 tuannvm

Please re-open. brew is one of the world's most popular package managers. Myopic to think it's less important.

o6uoq avatar Jun 24 '25 10:06 o6uoq