Skip to content

update-script v1.0.0

Choose a tag to compare

@fernand3z fernand3z released this 20 Jan 14:52
· 19 commits to main since this release
4065081

Universal Package Updater v1.0.0

The first stable release of the Universal Package Updater is here! This script provides a seamless way to keep your system and tools updated across multiple package managers. Designed with cross-shell compatibility and developer efficiency in mind, this release introduces robust support for popular package managers and shells.


Changelog

Added

  • Support for Popular Package Managers:
    • Homebrew
    • Flatpak
    • Nix
    • Paru
    • Yay
    • System-level managers: apt, dnf, pacman
  • Cross-Shell Compatibility:
    • Fully functional scripts for Zsh, Bash, Fish, and NuShell.
  • Installation Automation:
    • Shell detection and appropriate script installation.
    • Alias creation for quick access.

Fixed

  • Addressed minor compatibility issues with shell-specific syntax.
  • Improved handling of non-existent directories during installation.

Changed

  • Enhanced user messaging for better clarity during script execution.
  • Improved script readability and maintainability.

How to Use

Step 1: Clone the Repository

Clone the repository for this release:

git clone --branch v1.0.0 https://github.com/fernand3z/update-script.git
cd update-script

Step 2: Run the Installation Script

I. Run the command to make install.sh executable.

chmod +x install.sh

II. Run the command to install

./install.sh

Step 3: Add the upgrade Alias (If Not Already Added)

To simplify usage, add the alias to your shell configuration:

For Zsh:

alias upgrade="~/scripts/update_packages"

For Bash:

alias upgrade="~/scripts/update_packages"

For Fish:

alias upgrade="~/scripts/update_packages"

For NuShell:

alias upgrade = ~/scripts/update_packages

Save and reload your shell configuration (e.g., source ~/.zshrc for Zsh).

Step 4: Run the Updater

Use the upgrade command to update all your package managers effortlessly:

upgrade

Notes

  • This release supports Zsh, Bash, Fish, and NuShell. Ensure your shell is properly configured.
  • Make sure the required package managers are installed on your system before running the updater.

Download

No binaries are required; clone the repository for the specific version using:

git clone --branch v1.0.0 https://github.com/fernand3z/update-script.git