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

Request that the posh-git module install to $Env:ProgramFiles\WindowsPowerShell\Modules #483

Closed
David-Noble-at-work opened this issue Aug 30, 2017 · 2 comments

Comments

@David-Noble-at-work
Copy link

I realize that customers might take this directory off the PSModulePath, but $Env:ProgramFiles\WindowsPowerShell\Modules is a better location than $Env:\tools in my opinion. It is a standard location for modules developed by the PowerShell community and is on the PSModulePath by default.

@rkeithhill
Copy link
Collaborator

rkeithhill commented Aug 30, 2017

If you use the Install-Module command built into PowerShell v5 (or higher) it will install into the location you desire. Note, you have to be running as admin in order to have Install-Module install into that location.

From the issue, I take it you're using Chocolatey. Over time we'd like to get more folks using the "native" PowerShell module management system (PowerShellGet).

@dahlbyk
Copy link
Owner

dahlbyk commented Aug 30, 2017

Please see #473 (comment).

(Closing as duplicate.)

@dahlbyk dahlbyk closed this as completed Aug 30, 2017
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

3 participants