Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 973 Bytes

install-instructions.md

File metadata and controls

35 lines (23 loc) · 973 Bytes

Install instructions

Prerequisites

  • Windows PowerShell 5.1 with .NET Framework 4.7.2+ or
  • PowerShell Core 6.0 or greater on Windows, macOS and Linux

For a list of platforms that PowerShell Core is supported on see.

Getting the modules

Install from PowerShell Gallery for all users (requires permissions)

# Install PSRule module
Install-Module -Name 'PSRule';

Install from PowerShell Gallery for current user only

# Install PSRule module
Install-Module -Name 'PSRule' -Scope CurrentUser;

Save for offline use from PowerShell Gallery

# Save PSRule module, in the .\modules directory
Save-Module -Name 'PSRule' -Path '.\modules';

For pre-release versions the -AllowPrerelease switch must be added when calling Install-Module or Save-Module.