Update miscellaneous configs

This commit is contained in:
2026-03-09 09:27:31 +01:00
parent c9d59c744f
commit fe12a4404b
14 changed files with 142 additions and 139 deletions

View File

@@ -15,7 +15,7 @@ And then to perform the update:
paru
#+end_src
** NPM
** NPM (nodejs)
First update =npm= itself
#+begin_src bash
sudo npm install npm@latest -g
@@ -31,20 +31,9 @@ And finally perform the update:
sudo npm update -g
#+end_src
** PIP
First upgrade =pip= itself:
** PIP (python)
#+begin_src bash
/usr/bin/python3 -m pip install --upgrade pip
#+end_src
Then list outdated packages:
#+begin_src bash
pip3 list --outdated
#+end_src
And update everything with:
#+begin_src bash
pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U
/usr/bin/python3 -m pipx upgrade-all
#+end_src
** Emacs and Vim