Tutorial is outdated or something

Tried to run this command:

snapcraft init

it failed, but when I ran this command:

snap run snapcraft init

It worked!

I’m using debian 11

Hi Greg,

snapcraft init should work, what was the error you received?

Could you also let us know which tutorial it is - I’ll take a look and try to update it.

Thanks!

Yeah, I guess I skipped over the part where it says to add it to your path…

For Debian:

export=/snap/bin:$PATH

1 Like