bash: ng: commande non trouvée du fil

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