-
Notifications
You must be signed in to change notification settings - Fork 4
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
Install global bin to the correct location on windows #5
Install global bin to the correct location on windows #5
Conversation
On Windows, the globally installed CLI is placed in the `%npm_config_prefix%` directory, not the `%npm_config_prefix%\bin` directory. > When in global mode, executables are linked into `{prefix}/bin` on Unix, > or directly into `{prefix}` on Windows. Ensure that path is in your > terminal's `PATH` environment to run them. > --- https://github.com/npm/cli/blob/1e977eec223463b04a6ad2c1953e31a6d5d22f2c/docs/lib/content/configuring-npm/folders.md?plain=1#L55-L57 This pull request fixes a bug that did not conform to this behavior. Closes go-task#4
Footnotes
|
Thanks @sounisi5011! |
`@go-task/cli` with `@go-task/go-npm` is now installed in the correct location on Windows. see go-task/go-npm#5
The `@go-task/go-npm` included in `@go-task/cli` now installs the `task` command in the correct location on Windows! see go-task/go-npm#5, go-task/go-npm#8, and go-task/go-npm#9 This reverts commit abb45e1
* ⬆️ Update dependency @go-task/cli to v3.27.1 ( 77618ab ) * 🔥 Remove patches for `@go-task/go-npm` package ( d626085 ) The `@go-task/go-npm` included in `@go-task/cli` now installs the `task` command in the correct location on Windows! see go-task/go-npm#5, go-task/go-npm#8, and go-task/go-npm#9 This reverts commit abb45e1 * ⬆️ Update `pnpm-lock.yaml` ( 36c5f37 ) * 📝 Update CHANGELOG ( 766d804 ) --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sonishi Izuka <[email protected]>
On Windows, the globally installed CLI is placed in the
%npm_config_prefix%
directory, not the%npm_config_prefix%\bin
directory.This pull request fixes a bug that did not conform to this behavior.
Closes #4