The normal command is as below:
sudo snap install --classic heroku
I tried it on my WSL and I saw that the below error message:
Interacting with snapd is not yet supported on Windows Subsystem for Linux.
This command has been left available for documentation purposes only.
obviousely the currently "snap" is not supported on WSL yet!
but if I run the below command, it will do the same job:
curl https://cli-assets.heroku.com/install.sh | sh