Django 3 - problems with install Heroku CLI

Started course in Windows. Later had to change to Ubuntu (WSL). Now, do I install Heroku CLI in Windows or Ubuntu? I did the Windows install - but can’t see that from the VS Code Terminal. I then tried the Ubuntu install (sudo snap install --classic heroku) and get ‘error: cannot communicate with server: Post http://localhost/v2/snaps/heroku: dial unix /run/snapd.socket: connect: no such file or directory’. Please help.