Hacker News new | ask | show | jobs
by fredrikaverpil 783 days ago
I’m liking pkgx over asdf as it can activate project tooling upon cd’ing into a project folder.

https://pkgx.sh

3 comments

Mise gives you basically the same capabilities but is scoped a bit better, I’d check it out.
Is it? On top of an asdf and direnv replacement, mise is also a task runner, an environment variable manager, has experimental backends for npm/rust/go/python etc to take over their global package installs, replaces core asdf plugins with rewrites they have to maintain, and more. If anything it actually fails to scope itself

(Note: I like the tool)

it certainly looks interesting! I'm still not sure if "It’s npx for everything else" is good marketing :P

> can activate project tooling upon cd’ing into a project folder

this probably can be replicated with zsh hooks: https://zsh.sourceforge.io/Doc/Release/Functions.html#Hook-F...

wait wuuut? I don't get it, I do this with asdf using the `.tool-versions` file. What's the difference/improvement?