colima icon indicating copy to clipboard operation
colima copied to clipboard

Downgrade Colima Version

Open AnishMadan opened this issue 2 years ago • 5 comments

Description

Colima 0.6.2 introduced breaking changes to my local setup (Apple Silicon >= 14, Sonoma). Still looking for the root issue.

In the meantime, how can I downgrade to 0.5.6?

brew install [email protected] does not work for me.

I've tried installing from the old formula but I get the following error when I run brew services start colima

Error: Formula colima has not implemented #plist, #service or installed a locatable service file

Any help would be appreciated

AnishMadan avatar Nov 16 '23 19:11 AnishMadan

You can install colima 0.5.6 a few ways.

  1. To get rid of current colima, you could brew unlink colima or brew uninstall colima.

  2. sudo mkdir -p /usr/local/bin

  3. Download the binaries from https://github.com/abiosoft/colima/releases/tag/v0.5.6. For example, if you are on Apple Silicon, you could

sudo curl -L -o /usr/local/bin/colima https://github.com/abiosoft/colima/releases/download/v0.5.6/colima-Darwin-arm64 && sudo chmod +x /usr/local/bin/colima

On Intel, you could

sudo curl -L -o /usr/local/bin/colima https://github.com/abiosoft/colima/releases/download/v0.5.6/colima-Darwin-x86_64 && sudo chmod +x /usr/local/bin/colima

Note that if you did not colima delete before upgrading, then your old VM is probably there waiting for you in ~/.lima and may have your images, containers, and volumes in it.

rfay avatar Nov 16 '23 22:11 rfay

The first command worked for me, but I had to create the bin folder in /usr/local first.

zkent avatar Nov 17 '23 04:11 zkent

Thanks @zkent - I edited to add the mkdir.

rfay avatar Nov 17 '23 13:11 rfay

Just wondering what would it take to previous major versions in brew, so that a command like brew install [email protected] would work?

egze avatar Nov 18 '23 19:11 egze