4 ms·
Might work for Fedora (dnf) as well. I was tired of (re-)installing packages all the time for my different Ubuntu instances (VirtualBox, Dual Boot). So I automa
by d26900 6y ago
Might work for Fedora (dnf) as well.
I was tired of (re-)installing packages all the time for my different Ubuntu instances (VirtualBox, Dual Boot). So I automated it using Python 3.
All you need to do is to provide a list of packages that you want to install inside `npms.txt`.
In the `npms.txt` you can list the package `react` and define the installation commands and options like so:
! npm install
? -g
react
Then you need to run `python3 workman.py` as an administrator. Done!
(Don't forget to include the `npms.txt` into your `todos.txt`. The `todos.txt` is a requirement.)
(Note that you can also comment out to-dos from `todos.txt`.)