Trying to setup Heroku CLI to work with WSL.
Starting by following the directions here for Ubuntu 16+:
sudo snap install --classic heroku
Produces the following error:
error: cannot communicate with server: Post http://localhost/v2/snaps/heroku: dial unix /run/snapd.socket: connect: no such file or directory
Googled the error and came across this thread:
systemctl status snapd.service, which just says the following:
System has not been booted with systemd as init system (PID 1). Can't operate.
Restart WSL and the computer and same issue.
snapd wasn't installed because typing
Command '____' not found, did you mean:.... But trying to do
sudo apt-get install snapd says that it is already the latest version.