snap(1)
Install, manage, and control snap packages on Linux systems.
Synopsis
snap [OPTION] COMMAND [ARGS]...Description
Snap is a package management system for Linux that installs self-contained applications called snaps. Snaps are isolated, dependency-free packages that work across different Linux distributions without modification.
The snap command allows you to install, remove, update, and configure snap packages, as well as manage their permissions and services. Snaps include everything needed to run the application, making them portable and secure.
Common options
| Flag | What it does |
|---|---|
install | Install a snap package (e.g., snap install package-name) |
remove | Remove an installed snap package |
list | List installed snaps with version and size information |
refresh | Update a snap to the latest version, or all snaps if no name given |
--classic | Install snap with classic confinement (unrestricted permissions) |
--edge | Install from the unstable edge channel instead of stable |
info | Display detailed information about a snap package |
search | Search for available snap packages by name or description |
services | List services provided by installed snaps |
connections | List plug and slot connections between snaps |
revert | Revert a snap to its previous installed version |
--dangerous | Install unsigned snap (use with caution) |
Examples
Install the VLC media player snap from the stable channel
snap install vlcDisplay all installed snaps with their versions and installed sizes
snap listUpdate the Firefox snap to the latest available version
snap refresh firefoxSearch the Snap Store for packages matching 'text-editor'
snap search text-editorInstall VS Code snap with classic confinement for full system access
snap install --classic codeShow detailed information about the Discord snap including channels and ratings
snap info discordUninstall the Telegram Desktop snap package
snap remove telegram-desktopRoll back Spotify snap to the previously installed version
snap revert spotify