> For the complete documentation index, see [llms.txt](https://docs.lithnet.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lithnet.io/resource-management-powershell/installation/installing-the-module.md).

# Installing the PowerShell module

## Prerequisites

The module runs on either PowerShell edition:

* Windows PowerShell 5.1, with .NET Framework 4.8 or later
* PowerShell 7.4 or later, on Windows, Linux, or macOS

On Linux and macOS, connecting to the MIM service requires a one-time server-side setup step. See [Connecting to the MIM service](/resource-management-powershell/installation/connecting-to-the-service.md) for the available connection modes and their requirements.

## Installation process

Install from the [PowerShell Gallery](https://www.powershellgallery.com/packages/LithnetRMA) with PowerShellGet:

```powershell
Install-Module LithnetRMA
```

Or download and run the [MSI installer](https://github.com/lithnet/resourcemanagement-powershell/releases). The installer places the module in `%ProgramFiles%\WindowsPowerShell\Modules`, where both Windows PowerShell and PowerShell 7 can load it.

{% hint style="info" %}
If you are upgrading from version 1 and previously installed the module with `Install-Module`, remove any old versions with `Uninstall-Module LithnetRMA -RequiredVersion <version>`. An older copy installed in the current user scope takes precedence over a machine-wide install. The version 2 MSI removes a version 1 MSI installation automatically.
{% endhint %}

## Loading the module

Open a PowerShell console and type

```powershell
Import-Module LithnetRMA
```

or

```powershell
ipmo LithnetRMA
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lithnet.io/resource-management-powershell/installation/installing-the-module.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
