Installing Heroku cli on archlinux using snapd :command not found
It generally means that the directory in which you have installed your package is not included in your $PATH.
Look at the output of
and export the path of the directory containing heroku's executable if it's not already included.
Read more about exporting paths here.
You might want to source your .bashrc file (or .zshrc if you are on ZSH) after exporting.
To check if the export is successful, you can type in
which herokuand confirm the same.