---
title: Installing the desktop app (legacy) using the Mac CLI
description: Install the PingID desktop app (legacy) using the command-line interface (CLI). This is useful for deploying on multiple machines in batch mode.
component: pingid
page_id: pingid:pingid_service_management:installing_pid_desktop_app_using_mac_cli
canonical_url: http://docs.pingidentity.com/pingid/pingid_service_management/installing_pid_desktop_app_using_mac_cli.html
revdate: January 23, 2023
section_ids:
  about-this-task: About this task
  steps: Steps
  example-codephsudo-installer-pkg-homedownloadspingid-pkg-target-applications: Example:[.codeph]``sudo installer -pkg $HOME/Downloads/PingID.pkg -target /Applications /
  result: Result
---

# Installing the desktop app (legacy) using the Mac CLI

Install the PingID desktop app (legacy) using the command-line interface (CLI). This is useful for deploying on multiple machines in batch mode.

## About this task

|   |                                                                                  |
| - | -------------------------------------------------------------------------------- |
|   | Running the installer from a Terminal window requires administrator permissions. |

## Steps

1. Download the installer for the PingID desktop app (legacy) from the [PingID desktop download page](https://downloads.pingidentity.com/pingid/mac-client/PingID.pkg).

2. Open a Terminal window and enter the following command. `sudo installer -pkg <installer package filepath> -target <installation destination filepath> /`

   * *\<installer package filepath>* is the downloaded installer package's full filepath.

   * *\<installation destination filepath>* is the full filepath location that will host the PingID desktop app (legacy) installation with its initial configuration.

     ### Example:\[.codeph]\`\`sudo installer -pkg $HOME/Downloads/PingID.pkg -target /Applications /

     ```
     ``
     ```

   This command uses the PingID desktop app (legacy) installer package downloaded to the default Downloads directory and installs it in the Applications directory.

3. When prompted, enter the administrator password.

## Result

The PingID desktop app (legacy) is silently installed, using the application defaults. A message displays indicating the installation is successful.
