Files
dotfiles/fish/functions/update.fish
Stefan Imhoff afc5f5f874 chore: backup
2023-01-13 18:18:56 +01:00

11 lines
430 B
Fish

function update --description "Updating Homebrew, Ruby, Python, Node.js, Neovim, and MacOS"
brew update && brew outdated && brew upgrade && brew cleanup
sudo gem update --system && sudo gem update && gem cleanup all
pip install --upgrade pip
pip list -o --format columns | cut -d' ' -f1 | xargs -n1 pip install -U
npm update npm -g
npm update -g
# nvim --headless "+Lazy! update" +qa
sudo softwareupdate -i -a
end