-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[FEATURE] Allow for npm link
ing to local prefix
#533
Comments
Alternatively, what's a good current workaround for
? |
npm If your bug is preproducible on If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo Closing: This is an automated message. |
What I would like to be able to do is to install the
bin
s defined in thepackage.json
to the local prefix.npm install .
does not do that (related: #526).Installing these
bin
s seems to be usually done vianpm link
.npm link
symlinks thesebin
s to{prefix}/bin/{name}
, where{prefix}
is the global prefix. Should we add an option like--local
, to change this to the local prefix?Also see #532 (npm-link: clarify usage of global prefix)
The text was updated successfully, but these errors were encountered: