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

Support independent installation #237

Open
3 tasks done
kopach opened this issue Oct 7, 2024 · 0 comments
Open
3 tasks done

Support independent installation #237

kopach opened this issue Oct 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kopach
Copy link

kopach commented Oct 7, 2024

Clear and concise description of the problem

Currently, this tool can be installed only by using one of not package managers from npm registry. While it's convenient for 1 time use, it's a bit frustrating and neglects a bit the main idea every time you update Node.js or just switch node with tools like NVM due to requirements of using exact node version per project. In such a case, @antfu/ni must be installed and updated separatelly per node version

Suggested solution

Please, provide an alternative, system-wide way of installing @antfu/ni. I would really like if there would be possibility to install this tool via brew.
Both pnpm and yarn have available options to be installed via brew just because of this (initially install had to be done npm i -g (same as for @antfu/ni now)

Alternative

Script to install system wide can also be provided (like pnpm does this). Though this solution is OK for non-mac ecosystem, for Mac users brew is way better (except standard easy way to install/uninstall/update it also provide a way to do easy transfer to new system with brewfile and much more)

Additional context

No response

Validations

@kopach kopach added the enhancement New feature or request label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant