How can I get nasm to work as a command in terminal in MacOS?
To avoid /usr/bin/nasm
be found first in PATH use
$ /usr/local/bin/nasm
to find the one installed by brew
, or
alias nasm=/usr/local/bin/nasm
and then
$ nasm
I have solved this problem by:
brew reinstall nasm