{"id":15007452,"url":"https://github.com/lime-green/brew-versions","last_synced_at":"2026-03-16T02:36:28.858Z","repository":{"id":57416359,"uuid":"350513815","full_name":"lime-green/brew-versions","owner":"lime-green","description":"A version manager for Homebrew packages","archived":false,"fork":false,"pushed_at":"2021-04-20T16:01:26.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-18T20:02:59.928Z","etag":null,"topics":["developer-tools","homebrew","homebrew-tap","linuxbrew","version-manager"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lime-green.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-22T22:59:04.000Z","updated_at":"2021-04-20T16:00:41.000Z","dependencies_parsed_at":"2022-09-26T17:11:28.721Z","dependency_job_id":null,"html_url":"https://github.com/lime-green/brew-versions","commit_stats":null,"previous_names":["lime-green/brewv"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lime-green%2Fbrew-versions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lime-green%2Fbrew-versions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lime-green%2Fbrew-versions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lime-green%2Fbrew-versions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lime-green","download_url":"https://codeload.github.com/lime-green/brew-versions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243180890,"owners_count":20249388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["developer-tools","homebrew","homebrew-tap","linuxbrew","version-manager"],"created_at":"2024-09-24T19:10:02.482Z","updated_at":"2025-12-26T02:36:26.791Z","avatar_url":"https://github.com/lime-green.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Brew Versions (`brewv`)\n[![PyPI version](https://badge.fury.io/py/brew-versions.svg)](https://badge.fury.io/py/brew-versions)\n![Python versions](https://img.shields.io/pypi/pyversions/brew-versions.svg?style=flat-square\u0026label=Python%20Versions)\n\nManage multiple versions of your Homebrew packages with ease!\nHomebrew makes this difficult as a design decision, but sometimes old packages\nneed to be installed and we need a way to do so easily.\n\n## Installation\nWith [pipx](https://github.com/pipxproject/pipx)\n```bash\npipx install brew-versions\n```\nOr just with pip:\n```bash\npython3 -m pip install --user brew-versions\n```\n\n## Usage\n\n#### Switch to a specific version:\n```bash\n$ brewv switch wget 1.21\n[brewv]: Switching wget to version 1.21\n[brewv]: Not in cache: finding bottle to download\n[brewv]: GET https://linuxbrew.bintray.com/bottles/wget-1.21.x86_64_linux.bottle.tar.gz\n[brewv]: Bottle successfully downloaded, but cannot verify SHA256\n[brewv]: Pinning wget\n[brewv]: Successfully switched to wget 1.21\n```\n\n#### Installing from taps:\n```bash\n$ brewv switch jonchang/biology/bucky 1.4.4\n[brewv]: Tapping jonchang/biology\n[brewv]: Switching bucky to version 1.4.4\n[brewv]: Not in cache: finding bottle to download\n[brewv]: GET https://linuxbrew.bintray.com/bottles/bucky-1.4.4.x86_64_linux.bottle.tar.gz\n[brewv]: No bottle was found for bucky 1.4.4\n[brewv]: Searching for version in git directory, this may take a while...\n[brewv]: Found a version in commit: eee76a60fb5d7c6b619d736b50ee10fe42a9c73c\n[brewv]: Found bottle in tap config\n[brewv]: GET https://dl.bintray.com/jonchang/bottles-biology/bucky-1.4.4.x86_64_linux.bottle.tar.gz\n[brewv]: SHA256 verified successfully\n[brewv]: Pinning bucky\n[brewv]: Successfully switched to jonchang/biology/bucky 1.4.4\n```\n\nWhen no bottle is found for taps it will proceed with searching the\nlocal tap repository for the correct version and installing from the bottle\ndefined in the formula if it exists, otherwise from source.\n\nThis is very slow for the main homebrew repository so this behaviour is disabled\nwhen a bottle for a homebrew-core package cannot be found. You can supply\nthe option `brewv switch --slow ...`  to perform this search.\n\n### Warnings\nProper SHA256 verification is not done when downloading bottles from the\nmain bottle repository. This is because to get the expected SHAs would mean searching\nthe huge homebrew-core repository.\n\nWhile homebrew bottles exist for most operating\nsystems, if the bottle is not found then parsing old formulas fails quite often\nsince Homebrew updates their code frequently.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flime-green%2Fbrew-versions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flime-green%2Fbrew-versions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flime-green%2Fbrew-versions/lists"}