---
title: Agent Installation for macOS
slug: kronpam-agent-reference-guide/agent-installation-for-macos
description: Learn how to install the Single Connect Agent on macOS operating systems using CLI or WebUI. Follow step-by-step instructions for CLI installation and retrieve a registration confirmation. Alternatively, install using WebUI by running a command in the ter
docTags: 
createdAt: 2023-06-21T07:58:38.000Z
---

In order to install Kron PAM Agent to macOS operating systems please follow the instructions below.&#x20;

**Agent installation using CLI**

1. Launch a terminal navigate to the agent build folder and run the command **singleconnect-agent-setup** using the following arguments with admin privileges to proceed with the CLI installation.
   -p    --primary\_ip arg          Set primary Kron PAM IP and port (Default port: 443)
   -s    --secondary\_ip arg     Set secondary Kron PAM IP and port (Default port: 443)
   -i     --install\_key arg           Set install key
   -m   --multitenant arg       Set multitenancy mode (default :0)                                 Ex. singleconnect-agent-setup -p 10.20.42.90 -s 10.20.42.91 -i a0fb7b-841-494-8df-ab50079e7d

2. After successfully running the command following lines should be displayed on the terminal screen.         &#x20;**&#x20;                                                                                                                                      Processing registration…&#xD;**&#xA;**Agent registered successfully.**

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/0IW5RMRIRWVZwUa8_ZEW3_image.png "CLI installation success")

**Agent installation using WebUI**

1. Launch a terminal navigate the agent build folder and run the command **singleconnect-agent-setup&#x20;**&#x77;ith admin privileges to proceed with the WebUI installation. After running the command following lines will appear in the terminal.                                                                                                       **WebUI configuration utility is starting…&#xD;**&#xA;**Please go to&#x20;**[http://localhost:8080/setup](http://localhost:8080/setup)**&#x20;to install the agent.**

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/ehuY-BM6bUNxbETrvJ-sG_image.png "WebUI installation initiation")

- Copy the link that appears in the terminal and navigate to [http://localhost:8080/setup](http://localhost:8080/setup), link will take you to the Kron PAM Agent Setup page.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/j8bBVJb86Yeg7vcAuk-Lo_image.png "WebUI installation page")

-  In the Kron PAM Setup page users will be asked to provide **Primary Server IP, Secondary Server IP, Installation Key, and Multitenancy Mode**. Upon successfully providing the information user should see the Kron PAM agent registered successfully! message. After closing the web browser, a registration success message will be shown in the terminal, when a user launches a new terminal session user is expected to see **singleconnect-agent monitoring activated** on the terminal screen. Agent enforcement is active based on the policies defined in Kron PAM.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/aXPPsmTMUcvp2YHJCDW3u_image.png "WebUI installation success")

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/j1aWc96bNZMSrI5qT25MK_image.png "WebUI installation success CLI message")

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/XAAiVKCyBUOJXsEji6jve_image.png "Kron PAM Monitoring CLI message.")

