update is a small script that updates apps from Apt
, Pi-Apps
, Flatpak
, Homebrew
, NPM
, and the Snap Store
, a.k.a. snapd
.
curl "https://raw.githubusercontent.com/Crilum/update/main/install" | sudo bash
If you want to install manually | click to expand
There are two different ways to download the script, the first one is easier, but you can use the second one if you want.
-
Make sure
wget
is installed:sudo apt install wget
-
Download
update
withwget
:wget "https://raw.githubusercontent.com/Crilum/update/main/update"
-
Move
update
to/usr/local/bin/
:sudo mv update /usr/local/bin/update
-
Make
update
executable:sudo chmod +x /usr/local/bin/update
-
Clone the repository:
git clone https://github.com/Crilum/update/
-
Or, if you have GitHub CLI:
gh repo clone Crilum/update/
-
Copy the Update Script to
/usr/local/bin/
:cd update && sudo cp update /usr/local/bin/update
-
Make it executable:
sudo chmod +x /usr/local/bin/update
-
Remove the cloned repository (This is optional):
rm /path/to/update
Just remove the script:
sudo rm /usr/local/bin/update
and you're done!
You can use update
like this:
update - Updates apps installed with Apt.
update all - Updates apps on all supported systems.
update pi-apps - Updates apps installed with pi-apps.
update npm - Updates all npm packages.
update snaps - Updates apps installed with the snap store and snapd.
update flatpak - Updates Flatpak build instances.
update homebrew - Updates apps installed with Homebrew.
update pacman - Updates apps installed with pacman.
update self-update - Updates the update script
update help - Displays a help.
Well, that's fine.
- If you have a Debian/Ubuntu based distro (apt), just use the
update
command alone.
You can install Pi-Apps like this:
wget -qO- https://raw.githubusercontent.com/Botspot/pi-apps/master/install | bash
Note: Pi-Apps is intended for use on the Raspberry Pi, (Which has an ARM processor), running Raspberry Pi OS, Debian, or TwisterOS. Most to all of the apps won't work on non-arm processors.
Install snapd like this on Debian based distros:
sudo apt install snapd
Note: The Snap Store in Ubuntu is just a GUI for snapd
, so the update script will also update apps from there too. snapd
is installed by default in Ubuntu.
Install Flatpak like this on Debian based distros:
sudo apt install flatpak
Install Homebrew like this:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install NPM like this on Debian based distros:
sudo apt install npm
Note: NPM will usually only be useful for developers and software builders, so it may not be a good idea to use NPM unless you understand what you're doing.
- Make a Releases tesing system, so when I release an update GitHub Actions tests installation.
- Create
Contributing.md
. - Create pull request templates.
- Create a editable configuration for
all
argument