Skip to content

Apps

Zero Install allows you to create command-line launchers called "apps" using the 0install add command:

$ 0install add code https://apps.0install.net/gui/vs-code.xml
$ code

When run, they trigger a background update if they haven't been updated for a while. You can also update them manually:

$ 0install update rox
No updates found. Continuing with version 2.11.

Note

The following features are not supported on Windows yet.

Apps store their current selections (in ~/.config/0install.net/apps/rox/selections.xml in this case). This means that they start slightly faster than using 0install run URI, because the solver isn't needed.

They also remember any restrictions (e.g. --before).

Each app also stores past selections (max one set per day) so if an update goes wrong you can see what changed and roll-back easily:

$ 0install whatchanged 0publish
Last checked    : Wed Jun 27 20:24:19 2012
Last update     : 2012-06-27
Previous update : 2012-06-16

https://apps.0install.net/0install/0install-python.xml: 1.8-post -> 1.9-post
https://apps.0install.net/utils/gnupg.xml: new -> 1.4.12-4

To run using the previous selections, use:

$ 0install run ~/.config/0install.net/apps/0publish/selections-2012-06-16.xml