You are on page 1of 1

Commands and aliases

When installing a snap, you’re often installing an application. If an application uses a GUI, it will be integrated into
your desktop environment and it can be launched just like any other GUI application.
But applications installed from a snap can also be run from the command line, regardless of whether they’re GUI-
based or terminal-based.
The following sections describe how to work with such snap applications.

Running applications
As covered in Getting started, a snap’s installed application(s) can be found under /snap/bin, and subsequently,
often added to $PATH. This makes commands directly accessible from the command line.
If executing a command directly doesn’t work, try prefixing it with the /snap/bin path:
$ /snap/bin/vlc
Adding /snap/bin to your default $PATH makes running snaps that don’t automatically add themselves more
convenient.
A few Linux distributions use a path of /var/lib/snapd/snap/bin instead of the standard /snap/bin. You may
need to experiment and update your path accordingly.

Application commands
The output to snap info lists the applications a snap makes available beneath the commands: section:
$ snap info vlc
name: vlc
summary: The ultimate media player
(...)
commands:
- vlc
(...)

You might also like