dewakoding Belajar IT bareng !

Install Python 3 on Mac

24 sec read

Langkah pertama, jika belum terinstall homebrew, install homebrew terlebih dahulu

Buka terminal yaa…ketikan sintaks dibawah ini

/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"

Selanjutnya coba ketikan perintah dibawah ini

brew help

Jika muncul error : zsh: command not found: brew

Ketikan sintaks dibawah ini

echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/"YOUR USER NAME"/.zprofile

YOUR USER NAME diubah nama akun macosnya

Kemudian ketikan ini

eval $(/opt/homebrew/bin/brew shellenv)

coba lagi ketikan

brew help

homebrew sudah terinstall. Saat nya menginstal python, dengan sintaks

brew install python

Selamat mencoba. Just enjoy IT !

image : https://unsplash.com/photos/W9Nf6y7P3aI

dewakoding
dewakoding Belajar IT bareng !

Leave a Reply

Your email address will not be published.