PowerShell / PowerShell/PSResourceGet

Allow to specify custom module path in Install-PSResource

Open
#1,494 20 comments 27 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Install Area-Paths Issue-Enhancement
Dominant language
C#
Stars
576
Forks
114
Avg merge
1d 2h
Merged PRs (30d)
7

Description

Summary of the new feature / enhancement

Install-Module and now also Install-PSResourceGet do not allow to specify the Path where Modules are installed. It only works via Save-Module or Save-PSResource.

It would be great if there is a environment variable or parameter to control where powershell modules are installed when using Scope CurrentUser

Proposed technical implementation details (optional)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Install-PSResource entry point and how CurrentUser module paths are determined, then compare that behavior with Save-PSResource. Define whether an environment variable or parameter should control the destination, and consider the request complete when users can install modules to a custom path under CurrentUser scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.