Last active
May 31, 2026 08:04
-
-
Save br0kenpixel/97f1a0733237f48330aa781e73b9b35a to your computer and use it in GitHub Desktop.
update-arch.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| # | |
| # Arch/CachyOS update & cleanup script | |
| # | |
| # Update system & AUR packages and applications | |
| sudo pacman -Syu | |
| paru -Syu | |
| paru -Scc | |
| flatpak update | |
| # Rust development tools | |
| rustup update | |
| cargo install-update -a | |
| cargo cache --autoclean-expensive | |
| #espup update | |
| # Javascript tools | |
| bun upgrade | |
| rm -rf ~/.bun/install/cache/ | |
| npm cache clean --force | |
| pnpm cache delete | |
| pnpm store prune | |
| # Python tools & cleanup | |
| pipx upgrade-all | |
| pip cache purge | |
| uv cache clean | |
| # Golang cache cleanup | |
| go clean -cache -testcache -modcache -fuzzcache | |
| # PHP tools & cleanup | |
| composer self-update | |
| composer global require laravel/installer | |
| composer clear-cache | |
| # Rclone update | |
| sudo rclone selfupdate | |
| # BTRFS scrub | |
| #sudo btrfs scrub start -B / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment