npm WARN rm not removing /usr/local/bin/heroku as it wasn't installed by /usr/local/lib/node_modules/heroku code example Example: heroku cli $ sudo snap install --classic heroku