{"id":26982953,"url":"https://github.com/pritom007/mac_m1_installation","last_synced_at":"2025-04-03T16:37:04.406Z","repository":{"id":39711673,"uuid":"491012300","full_name":"pritom007/mac_m1_installation","owner":"pritom007","description":"This repo helps to install necessary libraries, softwares for mac m1 chip","archived":false,"fork":false,"pushed_at":"2022-05-27T07:45:46.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-05T13:33:42.039Z","etag":null,"topics":["m1-mac","mac","mac-m1","mac-m1-pro","macos"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pritom007.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-11T07:59:00.000Z","updated_at":"2022-05-11T09:44:50.000Z","dependencies_parsed_at":"2022-09-20T09:25:19.537Z","dependency_job_id":null,"html_url":"https://github.com/pritom007/mac_m1_installation","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritom007%2Fmac_m1_installation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritom007%2Fmac_m1_installation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritom007%2Fmac_m1_installation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritom007%2Fmac_m1_installation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pritom007","download_url":"https://codeload.github.com/pritom007/mac_m1_installation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247039581,"owners_count":20873559,"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":["m1-mac","mac","mac-m1","mac-m1-pro","macos"],"created_at":"2025-04-03T16:37:03.849Z","updated_at":"2025-04-03T16:37:04.397Z","avatar_url":"https://github.com/pritom007.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# MAC M1 Installation\n\nIf you are using new mac m1/m1 pro/m1 pro max then you can follow this installation process.\n\nThe first thing you should install is `Brew`\n\n## Install Brew\n\nTo install brew first run the following command in the terminal:\n\n`/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"`\n\nThis will take few minutes depending on your internet connext. If successfully installed the you can notice that it's asking to run the following command:\n\n`echo 'eval $(/opt/homebrew/bin/brew shellenv)' \u003e\u003e ~/.zprofile\neval $(/opt/homebrew/bin/brew shellenv)`\n\nNext check if your brew installed properly. Use following command to check it:\n\n`brew --version`\n\nYou should see a message like this:\n\n`Homebrew 3.4.11`\n\n`Homebrew/homebrew-core (git revision 5bf515994a1; last commit 2022-05-11)`\n\n## Install Python3 via brew\n\nFirst check what version of python is running in you mac with the following command.\n\n`python -V`\n\nyou should see something like this:\n\n`Python 2.7.18`\n\nNote that this is python 2 so if you also have python3 pre-installed in you mac. Just type the following command to check that:\n\n`python3 -V`\n\nyou should see something like this:\n\n`Python 3.8.9`\n\nNow check where is you python3 installed using:\n\n`which -a python3`\n\nYou should see:\n\n1)\n\n`/usr/bin/python3`\n\nor,\n\n2)\n`/opt/homebrew/bin/python3\n/usr/bin/python3`\n\nIf you see 1, then your python was not installed using bre. Hence, managing the packages and versions will be confusing. To install python via brew use the following command:\n\n`brew install python`\n\nOnce successfully installed you should be able to see 2, if you type `which -a python3`.\n\nHowever, your default python path is `/usr/bin/python3` so to change that run the following command.\n\n`hash -r\ntype python3`\n\nNow you will notice that your python3 path is changed to:\n\n`python3 is /opt/homebrew/bin/python3`\n\nAlso notice your pip3 path also changed.\n\n[Check for more details](!https://github.com/Homebrew/discussions/discussions/476)\n\n## Install Java using Azul Zulu\n\nInstalling java and jdk in new mac m1 os can be can be troublesome. The easiest way to install it is by using Azul zulu. Go to [Azul Zulu](!https://www.azul.com/downloads/?version=java-8-lts\u0026os=macos\u0026package=jdk#download-openjdk) and download the .dmg file for ARM 64 bit. Simply install it and after it is done check if java installed successfully by using:\n\n`java -version`\n\nyou should see something like:\n`openjdk version \"1.8.0_332\"`\n\n`OpenJDK Runtime Environment (Zulu 8.62.0.19-CA-macos-aarch64) (build 1.8.0_332-b09)`\n\n`OpenJDK 64-Bit Server VM (Zulu 8.62.0.19-CA-macos-aarch64) (build 25.332-b09, mixed mode)`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpritom007%2Fmac_m1_installation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpritom007%2Fmac_m1_installation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpritom007%2Fmac_m1_installation/lists"}