Whenever I try to do almost anything involving snap on the windows 10 session of Ubuntu, I get this:

sudo snap install htop

error: cannot communicate with server: Post http://localhost/v2/snaps: dial unix /run/snapd.socket: connect: no such file or directory


snaps use snapd which requires systemd which is not available under WSL.


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.