> For the complete documentation index, see [llms.txt](https://nx.docs.scailable.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nx.docs.scailable.net/nx-ai-manager-v4.x/nx-ai-manager/7.-advanced-configuration/7.1-nx-ai-manager-manual-installation.md).

# 7.1 Nx AI Manager Manual Installation

The Nx AI Manager Plugin will automatically detect if the Nx AI Manager is installed, and install it in the plugin folder. The installation will detect some features of the device and select the appropriate settings for installation. This should be sufficient for most users and devices, however it could be the case that some customisation is desired, or that the automatic installation did not go well. In that case, you can manually install the Nx AI Manager.

To manually install the Nx AI Manager on your device, execute the following command:

```sh
sudo bash -c "$(wget -q -O - https://artifactory.nxvms.dev/artifactory/nxai_open/NXAIManager/install.sh)" --installpath /opt/networkoptix-metavms/mediaserver/bin/plugins/nxai_plugin/
```

The install path can be customised for testing purposes and manually started to see output. However, the Nx AI Manager Plugin expects the Nx AI Manager to be installed in the same folder, and the Stop/Start commands from the Nx AI Manager Plugin UI will not work if the Nx AI Manager is installed somewhere else.

Finally, give read, write and execute permissions to the newly installed folder. This will allow the Nx AI Manager Plugin to create the files it needs, and start/stop the Nx AI Manager runtime.

```
sudo chmod -R 777 /opt/networkoptix-metavms/mediaserver/bin/plugins/nxai_plugin
```

It might be necessary to restart the Nx Mediaserver to finish initialising the Nx installation:

```
sudo systemctl restart networkoptix-metavms-mediaserver.service
```
