CmdID

CmdID / Commands

install-module

Install PowerShell modules from PowerShell Gallery, NuGet, and other repositories. tldr-pages

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from tldr-pages, CC BY 4.0

Install a module, or update it to the latest available version

Install-Module moduleIdentify

Install a module with a specific version

Install-Module module -RequiredVersion versionIdentify

Install a module no earlier than a specific version

Install-Module module -MinimumVersion versionIdentify

Specify a range of supported versions (inclusive) of the required module

Install-Module module -MinimumVersion minimum_version -MaximumVersion maximum_versionIdentify

Install module from a specific repository

Install-Module module -Repository repositoryIdentify

Install module from specific repositories

Install-Module module -Repository repository1 , repository2 , ...Identify

Install the module for all/current user

Install-Module module -Scope AllUsersIdentify

Simulate a run to determine which modules will be installed, upgraded, or removed through Install-Module

Install-Module module -WhatIfIdentify