Dominic Brunetti
Dominic Brunetti

Reputation: 1069

Can you Install Powershell Modules on MacOS?

I have Powershell Core installed on my Mac (using homebrew) and it works great for coding in VS Code. However, I need to add additional modules (primarily for code-completion/hints) to assist with my coding.

Is this possible? For example, right now I need to add the "webadministration" module, but when I try install-module webadministration it is not found.

Thanks!

Upvotes: 3

Views: 12518

Answers (1)

mklement0
mklement0

Reputation: 438273

The Install-Module cmdlet installs modules from the PowerShell Gallery - on all supported platforms, including macOS.

However, currently no module named webadministration exists there, though there are similarly named ones: https://www.powershellgallery.com/packages?q=webadministration

You can perform the equivalent search from PowerShell via the Find-Module cmdlet:

Find-Module *webadministration*

Upvotes: 3

Related Questions