felipecrs / dotfiles

Bootstrap your Ubuntu in a single command!
MIT License
282 stars 40 forks source link

`pkgx` transformation #101

Open felipecrs opened 1 year ago

felipecrs commented 1 year ago

pkgx can solve a bunch of problems. It can potentially replace SDKMAN!, Volta and even Homebrew in my dotfiles, which would be a huge plus for me.

Also, installing tools with it is very fast since only shims are created. When running such tools for the first time, then it takes care of downloading them.

TODOs

jrpedrianes commented 1 year ago

Did you take a look at asdf? for us, it was the holy grail :D

felipecrs commented 1 year ago

Oh, yeah, I knew asdf. Thank you.

Whilst definitively better than SDKMAN! and NVM, I didn't want to integrate it because it suffers of the same problems that SDKMAN!, NVM and others do: they need instructions to be injected in the shell to work.

That's why I switched away from NVM to Volta.

While tea.xyz also injects to the shell, it's actually optional. Tea can also work through symbolic links.

jrpedrianes commented 1 year ago

I'm going to deep into tea.xyz to know how it's works under the hood and know if it has all the features/integrations that we have available with asdf.

Thanks for your feedback 🥳

Thanks to asdf we remove all tools manager that we was using: pyenv, nvm, sdk... and use only one for all: one tool to rule them all 😂

Maybe is time to change? 🤔

felipecrs commented 1 year ago

I would say that, if it's working for you and you have no complaints about it, don't change.

Also, Tea is very new, it will most likely miss some feature from asdf.

By the way, as you mentioned pyenv, one thing that I never liked about it is that it takes a lot of time to install new Python versions (because it builds Python from source, and so does asdf).

Tea on the other hand installs Python from precompiled binaries. It's so much faster! :)

felipecrs commented 1 year ago

https://github.com/felipecrs/dotfiles/assets/29582865/b4c356a3-e437-44a6-b722-17257fed630e

jrpedrianes commented 1 year ago

Now for me install a new python 🐍 version is a coffee ☕️ break 😂

Thanks for the feedback