Snap install Page

sudo snap install



Return to Snap

e.g.: sudo snap install powershell --classic


snap help install

Usage:

snap install [install-OPTIONS] ...

The install command installs the named snaps on the system.

To install multiple instances of the same snap, append an underscore and a
unique identifier (for each instance) to a snap's name.

Parallel instances are installed with --unaliased passed implicitly to avoid
conflicts with existing installs. This behaviour can be altered by passing
--prefer which will enable all aliases of the given snap in preference to
conflicting aliases of other snaps whose automatic aliases will be disabled and
manual aliases will be removed.

With no further options, the snaps are installed tracking the stable channel,
with strict security confinement. All available channels of a snap are listed in
its 'snap info' output.

When --revision is used, a later refresh will typically undo the revision
override, taking the snap back to the current revision of the channel it's
tracking.

Use --name to set the instance name when installing from snap file.

[install command options]
--color=[auto|never|always] Use a little bit of color to highlight some things. (default: auto)
--unicode=[auto|never|always] Use a little bit of Unicode to improve legibility. (default: auto)
--no-wait Do not wait for the operation to finish but just print the change id.
--channel= Use this channel instead of stable
--edge Install from the edge channel
--beta Install from the beta channel
--candidate Install from the candidate channel
--stable Install from the stable channel
--devmode Put snap in development mode and disable security confinement
--jailmode Put snap in enforced confinement mode
--classic Put snap in classic mode and disable security confinement
--revision= Install the given revision of a snap
--dangerous Install the given snap file even if there are no pre-acknowledged signatures for it,
meaning it was not verified and could be dangerous (--devmode implies this)
--unaliased Install the given snap without enabling its automatic aliases
--prefer Enable all aliases of the given snap in preference to conflicting aliases of other
snaps
--name= Install the snap file under the given instance name
--cohort= Install the snap in the given cohort
--ignore-validation Ignore validation by other snaps blocking the installation
--transaction=[all-snaps|per-snap] Have one transaction per-snap or one for all the specified snaps (default: per-snap)
--quota-group= Add the snap to a quota group on install



{{navbar_footer}}