Hello! I am trying to install zig so I can check out ziglings.
I'm on a Mac M1. I've downloaded the latest master, unzipped, and set the path to the executable in my .bash_profile. Trying to run zig gives me command not found.
However, using it with the path to the executable works
MacBook-Air:~ me$ /Users/me/Desktop/zig-macos-aarch64-0.12.0-dev.1830+779b8e259/zig version
0.12.0-dev.1830+779b8e259
my .bash_profile looks like this
[[ -f ~/.bashrc ]] && source ~/.bashrc # ghcup-env# Set PATH, MANPATH, etc., for Homebrew.
eval "$(/opt/homebrew/bin/brew shellenv)"
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
export PATH="/opt/homebrew/opt/llvm@12/bin:$PATH"
export PATH="/opt/homebrew/opt/llvm@12/bin:$PATH"
export PATH=/usr/local/smlnj/bin:"$PATH"
export PATH=/Applications/Racket\ v8.6/bin:"$PATH"
export PATH=$PATH:/Users/me/Desktop/zig-macos-aarch64-0.12.0-dev.1830+779b8e259/zig
Not sure how to debug from this point, any help would be appreciated ๐