Sebastian - IT & CYBER SEC


how to install go on apple silicon mac

i’m using zsh in warp terminal.

so check if you have go already installed or install it from https://go.dev/dl/

go version

check if go is installed correctly after installing

ls /usr/local/go
go version
echo $PATH

add the following path to your .zshrc

code ~/.zshrc
export PATH=$PATH:/usr/local/go/bin

now source your zshrc and you are done

source ~/.zshrc
go version