macOS Installation Guide

Last modified on September 20, 2022

Overview

This guide provides information to install strongDM on macOS. The primary download package includes the strongDM Desktop application and a command-line interface (CLI). You can optionally download the CLI independently from the Admin UI.

Download strongDM

Use the following steps to install the strongDM Desktop application and CLI on macOS. To bypass the desktop application, you can download the CLI independently.

  1. Open the invitation email you received for your strongDM account.

  2. Click the link included in the email to set your password.

  3. Log in to strongDM and go to the Download & Install page in the web application or Admin UI.

  4. Click Download strongDM for macOS to get the desktop app and CLI. Once the download is successful, the file name appears as SDM-<VERSION_NUMBER>.dmg.

  5. Optionally, check that the downloaded binary is legitimate and verify the checksum:

    $ sha256sum SDM-15.57.0.dmg
    9436778e0c922f621e0456b2694e0ad7dd50de8501632ee784b8add38bac5c5a SDM-15.57.0.dmg
    

    The checksum should match the value in the SHA256 Checksum section of the Admin UI.

    strongDM SHA256 Checksums
    strongDM SHA256 Checksums
  6. To continue with the installation, double click the downloaded DMG file.

  7. Drag the SDM app to the Applications folder using the provided shortcut. If you do not have admin rights on your computer, you can copy the SDM app to the Applications folder in your home directory or the desktop, where it runs and updates normally without requiring admin privileges.

    strongDM Installation Shortcut
    strongDM Installation Shortcut

Launch strongDM

Use these steps to launch strongDM Desktop on macOS. When you launch the desktop app, all authentications and resource access get routed through strongDM.

  1. To launch strongDM Desktop, double click the SDM icon in your list of applications.

  2. The sdm icon appears in the menu bar. Click this icon to log in.

  3. Enter the email and password created during the email invitation step when you installed strongDM Desktop. You may also be redirected to your single sign-on (SSO) provider.

  4. After logging in, a list of resources you have permission to access appears in strongDM Desktop.

    strongDM Resources
    strongDM Resources
  5. Click one of these resources to enable a connection and gain access. A green lightning bolt icon appears next to the connected resource.

  6. You can now connect to the resource on your machine using your preferred tool. When prompted for connection information, you can typically use localhost for the hostname/IP, leave the username and password blank, and specify the port listed next to the resource in strongDM Desktop. If the connection fails using these defaults, check the Connect to Resources section for more information.

Set up the strongDM CLI

To set up the CLI that is included with the strongDM Desktop application, you can use the following steps.

  1. After installing the SDM application, click the sdm icon in the menu bar. Make sure you are logged in by checking that the SDM application is online and your available resources display.

  2. Open the strongDM menu and click install ‘sdm’ in PATH.

    strongDM Menu
    strongDM Menu

    You can also open a terminal and type sudo ln -s /Applications/SDM.app/Contents/Resources/sdm.darwin /usr/local/bin/sdm. Either of these options adds the sdm command line application to your PATH. Verify that the CLI is working properly:

    $ sdm --version
    sdm version 35.3.0 (99a5d1a71d4eccaf171449e33bc0826132b05165 #503)
    

    If instead you see something like -bash: sdm: command not found, it may mean that the path /usr/local/bin/ is not included in your system search path. Edit the shell configuration file your system is using. For macOS, that is sometimes .bash_profile, but since macOS Catalina, zsh is the default shell. Open the shell configuration file and append export PATH=/usr/local/bin/:$PATH to it. Then run:

    $ source ~/.zshrc
    $ sdm --version
    sdm version 35.3.0 (99a5d1a71d4eccaf171449e33bc0826132b05165 #503)
    

Download the strongDM CLI

On macOS, you can bypass the desktop application and download the CLI independently. Use the following steps to install the CLI only.

  1. Open the invitation email you received for your strongDM account.

  2. Click the link included in the email to set your password.

  3. Log in to strongDM and go to the Download & Install page in the web application or Admin UI.

  4. Click Download strongDM for macOS. When you click to show all download options, go to the Download the strongDM CLI section.

  5. Download the strongDM CLI for your architecture. The files are download to a zipped folder on your computer. This depends on your architecture, but the folder name appears as sdmcli_<VERSION_NUMBER>_darwin_amd64.zip.

  6. Unzip the file:

    unzip sdmcli_<VERSION-NUMBER>_darwin_amd64.zip curl -J -O -L
    
  7. Move the unzipped file to your usr/local/bin/ directory. We suggest this location since it is usually part of the PATH variable, ensuring you can run sdm commands from any folder in the terminal.

If any errors occur or if the installation fails in any way, please contact support@strongdm.com for assistance.

Top