#!/usr/bin/env zsh local things_to_install=(ipython yt-dlp magic-wormhole litecli wakatime) if [[ -x "$(command -v $things_to_install)" ]]; then pipx reinstall-all else for thing_to_install in $things_to_install; do pipx install $thing_to_install done fi