A Linux system may have both the repository and snap version of Snapcraft installed at the same time. Typically, the snap version will be the preferred one, and usually the first listed command in the user’s shell command path.
The which command can be used to check which version of snapcraft is run by default:
$ which snapcraft
Snapcraft build providers
By default, Snapcraft relies on a build provider to create an isolated build environment inside which applications can be built and packaged as snaps without changing the host system. Two build providers are supported:
Multipass, which creates virtual machine build instances. It cannot be reliably used on platforms that do not support nested virtualization. For instance, Multipass will most likely not run inside a virtual machine itself.
LXD, which creates container image build instances. It can be used inside virtual machines.
See Build providers for further details on configuring and using either Multipass or LXD, and for options that don’t require a built provider.