Skip to content

Installation

Requirements

  • PowerShell 7.0+ (PowerShell Core)
  • Windows, macOS, or Linux

PowerShell Version

NMM-PS requires PowerShell 7.0 or higher. Windows PowerShell 5.1 is not supported.

The recommended way to install NMM-PS is from the PowerShell Gallery:

Install-Module -Name NMM-PS -Scope CurrentUser

To install for all users (requires admin/sudo):

Install-Module -Name NMM-PS -Scope AllUsers

Install from GitHub

Clone the repository and import directly:

# Clone the repository
git clone https://github.com/Get-Nerdio/NMM-PS.git

# Import the module
Import-Module ./NMM-PS/NMM-PS.psm1

Update the Module

To update to the latest version:

Update-Module -Name NMM-PS

Check your current version and available updates:

# Check installed version
Get-InstalledModule -Name NMM-PS | Select-Object Name, Version

# Check latest available version on PowerShell Gallery
Find-Module -Name NMM-PS | Select-Object Name, Version

# Force update even if already at latest
Update-Module -Name NMM-PS -Force

After Updating

If you have the module imported in your current session, re-import it to use the new version:

Import-Module NMM-PS -Force

Verify Installation

Check that the module is installed correctly:

# List module information
Get-Module -Name NMM-PS -ListAvailable

# Import and check available commands
Import-Module NMM-PS
Get-Command -Module NMM-PS

You should see 60+ cmdlets available.

Uninstall

To remove NMM-PS:

Uninstall-Module -Name NMM-PS

Next Steps

After installation, configure your API credentials.