Skip to content

Instantly share code, notes, and snippets.

@lparolari
Last active August 20, 2023 08:08
Show Gist options
  • Save lparolari/dfa409e9ecfce259b65ebe49dfc3990a to your computer and use it in GitHub Desktop.
Save lparolari/dfa409e9ecfce259b65ebe49dfc3990a to your computer and use it in GitHub Desktop.

Pacman/Yay

sudo pacman -Syu
sudo pacman -Sc
yay -Sc --aur

Snap

# cache
sudo bash -c 'rm /var/lib/snapd/cache/*'

# old snaps
LANG=en_US.UTF-8 snap list --all | awk '/disabled/{print $1, $3}' |
while read pkg revision; do
  sudo snap remove "$pkg" --revision="$revision"
done

Yarn

yarn cache clean

Pip

eval "$(/home/lparolari/.miniconda3/bin/conda shell.zsh hook)"
conda activate python38
pip cache purge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment