Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find something like pipx for npm? #34

Open
purarue opened this issue Oct 21, 2023 · 1 comment
Open

find something like pipx for npm? #34

purarue opened this issue Oct 21, 2023 · 1 comment

Comments

@purarue
Copy link
Owner

purarue commented Oct 21, 2023

No description provided.

@purarue
Copy link
Owner Author

purarue commented Oct 23, 2023

hmm, doesnt seem like anything like this exists (or more likely the npm bundling/packaging space is so full of random tools that I cant find it...)

for reference, this would:

  • create a venv/node_modules for each different CLI tool I have in my package lists
  • link/copy any of the scripts that installs into a shared bin (or just put them in ~/.local/bin like pipx does)

This means that there are never version conflicts because you just have separately installed node_modules for every script you want to install globally, makes it easier to upgrade things individually without worrying about mismatched versions

If something like this exists, feel free to comment, currently I just do this:

https://github.com/seanbreckenridge/dotfiles/blob/170ab71fad589efe950d44b426d99d6752251597/.config/yadm/bootstrap#L144-L179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant