I am using the z Shell (zsh) instead of the default bash, and something wrong happen so that all commands who used to work are no longer recognized:
zsh
<
For me just restarting my terminal seemed to fix the issue.