bash: ng: comando no encontrado hilo
Your yarn / npm module path might not be in PATH, therefore system is not able to locate it.
Simply add yarn / npm module into your path and it should work:
export PATH="$(yarn global bin):$PATH"
Clear Cicada