1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328 | snappy(1) General Commands Manual snappy(1)
NAME
snappy -
SYNOPSIS
snappy [OPTIONS]
DESCRIPTION
OPTIONS
-h, --help
Show this help message
COMMANDS
booted
internal
internal
-h, --help
Show this help message
build
Builds a snap package
Creates a snap package and if available, runs the review scripts.
Usage: snappy build [build-OPTIONS]
Aliases: bu
-o, --output
Specify an alternate output directory for the resulting package
-h, --help
Show this help message
config
Set configuration for an installed package.
Configures a package. The configuration is a YAML file, provided in the
specified file which can be "-" for stdin. Output of the command is the
current configuration, so running this command with no input file pro‐
vides a snapshot of the app's current config.
-h, --help
Show this help message
firstboot
internal
internal
-h, --help
Show this help message
hw-assign
Assign a hardware device to a package
This command adds access to a specific hardware device (e.g.
/dev/ttyUSB0) for an installed package.
-h, --help
Show this help message
hw-info
List assigned hardware device for a package
This command list what hardware an installed package can access
-h, --help
Show this help message
hw-unassign
Unassign a hardware device to a package
This command removes access of a specific hardware device (e.g.
/dev/ttyUSB0) for an installed package.
-h, --help
Show this help message
info
Display a summary of key attributes of the snappy system.
A concise summary of key attributes of the snappy system, such as the
release and channel.
The verbose output includes the specific version information for the
factory image, the running image and the image that will be run on
reboot, together with a list of the available channels for this image.
Providing a package name will display information about a specific
installed package.
The verbose version of the info command for a package will also tell
you the available channels for that package, when it was installed for
the first time, disk space utilization, and in the case of frameworks,
which apps are able to use the framework.
Usage: snappy info [info-OPTIONS]
-v, --verbose
Provides more detailed information
-h, --help
Show this help message
install
Install a snap package
Install a snap package
Usage: snappy install [install-OPTIONS]
--allow-unauthenticated
Install snaps even if the signature can not be verified.
--no-gc
Do not clean up old versions of the package.
-h, --help
Show this help message
internal-run-hooks
internal
internal
-h, --help
Show this help message
internal-unpack
internal
internal
-h, --help
Show this help message
list
List active components installed on a snappy system
Provides a list of all active components installed on a snappy system.
If requested, the command will find out if there are updates for any of
the components and indicate that by appending a * to the date. This
will be slower as it requires a round trip to the app store on the net‐
work.
The developer information refers to non-mainline versions of a package
(much like PPAs in deb-based Ubuntu). If the package is the primary
version of that package in Ubuntu then the developer info is not shown.
This allows one to identify packages which have custom, non-standard
versions installed. As a special case, the “sideload” developer refers
to packages installed manually on the system.
When a verbose listing is requested, information about the channel used
is displayed; which is one of alpha, beta, rc or stable, and all fields
are fully expanded too. In some cases, older (inactive) versions of
snappy packages will be installed, these will be shown in the verbose
output and the active version indicated with a * appended to the name
of the component.
Usage: snappy list [list-OPTIONS]
Aliases: li
-u, --updates
Show available updates (requires network)
-v, --verbose
Show channel information and expand all fields
-h, --help
Show this help message
login
Log into the store
This command logs the given username into the store
-h, --help
Show this help message
man
produces manpage
produces manpage
-h, --help
Show this help message
purge
Remove all the data from the listed packages
Remove all the data from the listed packages. Normally this is used for
packages that have been removed and attempting to purge data for an
installed package will result in an error. The --installed option
overrides that and enables the administrator to purge all data for an
installed package (effectively resetting the package completely).
Usage: snappy purge [purge-OPTIONS]
--installed
Purge an installed package.
-h, --help
Show this help message
remove
Remove a snapp part
Remove a snapp part
Usage: snappy remove [remove-OPTIONS]
--no-gc
Do not clean up old versions of the package.
-h, --help
Show this help message
rollback
Rollback to a previous version of a package
Allows rollback of a snap to a previous installed version. Without any
arguments, the previous installed version is selected. It is also pos‐
sible to specify the version to rollback to as a additional argument.
-h, --help
Show this help message
search
Search for packages to install
Query the store for available packages
Usage: snappy search [search-OPTIONS]
Aliases: se
--show-all
Show all available forks of a package
-h, --help
Show this help message
service
Query and modify snappy services
Query and modify snappy services of locally-installed packages
-h, --help
Show this help message
service restart
-h, --help
Show this help message
service start
-h, --help
Show this help message
service status
-h, --help
Show this help message
service stop
-h, --help
Show this help message
set
Set properties of system or package
Set properties of system or package
Supported properties are:
active=VERSION
Example:
set hello-world active=1.0
-h, --help
Show this help message
update
Update all installed parts
Ensures system is running with latest parts
Usage: snappy update [update-OPTIONS]
--no-gc
Do not clean up old versions of the package.
--automatic-reboot
Reboot if necessary to be on the latest running system.
-h, --help
Show this help message
versions
(deprecated) please use "list"
This command is no longer available, please use the "list" command
-h, --help
Show this help message
29 July 2015 snappy(1)
|