---
title: Agent Installation for macOS
slug: kronpam-agent-reference-guide-3-6-0/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.**

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/0IW5RMRIRWVZwUa8_ZEW3_image.png" size="68" width="732" height="436" position="center" caption="CLI installation success" showCaption="true"}

**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 [http://localhost:8080/setup](http://localhost:8080/setup) to install the agent.**

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/ehuY-BM6bUNxbETrvJ-sG_image.png" size="68" width="775" height="506" position="center" caption="WebUI installation initiation" showCaption="true"}

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/8O0WGEkUQgMtB-ozO14Wm_image.png" size="68" width="776" height="506" position="center" showCaption="false"}

- 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/TG2hNEiKIEOFJB2EPSNXN_image.png)

-  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")

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/j1aWc96bNZMSrI5qT25MK_image.png" size="68" width="760" height="506" position="center" caption="WebUI installation success CLI message" showCaption="true"}

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/XAAiVKCyBUOJXsEji6jve_image.png" size="72" width="661" height="454" position="center" caption="Kron PAM Monitoring CLI message." showCaption="true"}

