Occassionally I get messages telling me there is an update for one of my GNOME Shell extensions, directing me to https://extensions.gnome.org/local/ where I can trigger an update through the web interface.
I would rather invoke updates from the command line, similar to calling apt update && apt upgrade
. How can I do this?
The comments on this omgubuntu.co.uk article list two possible ways:
The GNOME Shell Extension Installer · Github, a bash script to install and search extensions from extensions.gnome.org. Install it with
Update the extensions
23
and42
for GNOME Shell3.18.4
withUpdate all extensions with
I couldn’t test it, but I’m pretty sure it’s scriptable.
If you installed your extensions by cloning their git repos to
/path/
you can justgit pull
the repos one after one:After that you need to reload GNOME Shell with either Alt+F2 and
r
or the commandgnome-shell -r
.The gnomeshell-extension-manage script by Nicolas Bernaerts allows to install and remove GNOME Shell extensions both system-wide and in user space.
Here's how you would install it:
This makes it available for every user: (alongside similar GNOME commands)
The Gnome Shell - Management of Extensions from console blog post explains in detail how it is used. For updating an extension you need to add
--version latest
to the command.The two main differences, technically speaking, to Ian Brunelli's gnome-shell-extension-installer are that you can do system-wide installations and that it's using
wget
instead ofcurl
to download the extensions.