When to use snap
Use snap to inspect installed snaps, available channels and recorded background changes. A snap package has a lifecycle and confinement model that differs from a traditional distribution package.
Syntax
snap [PARAMETERS] ACTION [PACKAGE...]Square brackets mark optional arguments; an ellipsis means repetition. Replace example file names, user names and server addresses with your own values.
Common options and arguments
Usage examples
View installed packages
snap listInstalled snaps and their versions are listed.
Check package details
snap info hello-worldPublisher, channels and package information are displayed without installation.
View changes
snap changesRecorded operations are listed to help identify an in-progress or failed change.
Notes and limitations
- You need the snapd service installed and running; snap is not available on all distributions.
- Please check the publisher, channel and requested isolation mode before installing, especially --classic.
Common questions and troubleshooting
Why can snap commands fail on a minimal server?
The snap client, daemon or required system integration may be absent or unavailable. Confirm support on the chosen distribution.
How do I investigate a stuck change?
Inspect the recorded change and its task details before intervening. Avoid repeatedly starting the same install while an existing operation is active.
Further help
Options vary by version and distribution. Check the installed documentation with this command: man snap.