Update miscellaneous configs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user