{"id":15805241,"url":"https://github.com/dolmen/macos-arm64-migration-utils","last_synced_at":"2026-07-06T08:31:12.228Z","repository":{"id":213265966,"uuid":"733404790","full_name":"dolmen/macos-arm64-migration-utils","owner":"dolmen","description":"Utilities to cleanup remaining amd64 binaries toward a full native arm64 environment","archived":false,"fork":false,"pushed_at":"2023-12-19T10:47:42.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T18:37:07.109Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dolmen.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-19T08:56:09.000Z","updated_at":"2025-03-16T00:42:14.000Z","dependencies_parsed_at":"2023-12-19T12:39:08.970Z","dependency_job_id":"37e188e8-0536-4235-8d4c-25e3f69fbb72","html_url":"https://github.com/dolmen/macos-arm64-migration-utils","commit_stats":null,"previous_names":["dolmen/macos-arm64-migration-utils"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dolmen/macos-arm64-migration-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolmen%2Fmacos-arm64-migration-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolmen%2Fmacos-arm64-migration-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolmen%2Fmacos-arm64-migration-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolmen%2Fmacos-arm64-migration-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dolmen","download_url":"https://codeload.github.com/dolmen/macos-arm64-migration-utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolmen%2Fmacos-arm64-migration-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35184015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-05T02:05:18.140Z","updated_at":"2026-07-06T08:31:12.207Z","avatar_url":"https://github.com/dolmen.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# macos-arm64-migration-utils\n\nTools for migrating away from amd64 (x86_64) binaries on your Apple M1/M2/... Mac\ntowards a world with only native arm64 binaries.\n\nOn macOS, you can have 3 kinds of binaries:\n * arm64\n * amd64 (x86_64)\n * universal binary which package both a arm64 and an amd64 binary\n\nFor maximum performance you must get rid of amd64 only binaries.\n\n## Diagnosis\n\n### List all amd64 binaries in $PATH\n\nThis will give you a general view of the amount of cleanup to do.\n\n```console\n$ ./find-x86-bin\n````\n\nThe cleanup method depend on how you got the binary installed in the first place.\n\n### List all amd64 binaries in /Applications\n\n```console\n$ ./find-x86-bin /Applications\n````\n\nFor those cases, the simplest thing to do is to delete the app and reinstall\nthe latest version: if the app had only amd64 binaries at the time you had installed\nit (maybe 1 year ago), a new release is probably available that provides universal\nbinaries.\n\n\n## Cleaning Homebrew\n\nHomebrew for amd64 is installed in /usr/local.\nHomebrew for arm64 is installed in /opt/homebrew.\n\nSo if you have some traces of Homebrew in /usr/local/bin, /usr/local/Cellar on an arm64\nmachine, you must clean them as everything should be in /opt/homebrew.\n\nCheck those commands:\n\n```console\n$ which brew\n```\nIf you get /usr/local/bin/brew, you must uninstall the amd64 Homebrew and install the arm64 one.\n\n```console\n$ ls -l /usr/local/bin | grep Cellar\n```\n\n\n### Remove all Homebrew arm64 binaries\n\nRemove all symlinks in /usr/local/bin that point to Homebrew packages in /usr/local/Cellar:\n\n```console\n$ ./unlink-Cellar-pkg -a\n```\n\nUnlink the binaries of the single Homebrew package `jq`:\n\n```console\n$ ./unlink-Cellar-pkg jq\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolmen%2Fmacos-arm64-migration-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdolmen%2Fmacos-arm64-migration-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolmen%2Fmacos-arm64-migration-utils/lists"}