macOS

warning: The current Raygun APM 3.x Agent is not distributed for macOS. This page is retained for existing 2.3.0 x64 installations and must not be used as the current production installation guide. Apple Silicon is not supported by the legacy package.

Follow these steps only when maintaining a legacy Raygun APM 2.3.0 installation on macOS x64.

The legacy APM Agent for macOS (x64) was supported on 10.15 Catalina or newer.

Note: Apple Silicon is currently not supported.

Download the Raygun Agent zip file to a directory and give execute permission to the Agent, CLI, and scripts.

sudo curl -O "https://downloads.raygun.com/APM/releases/2.3.0/RaygunAgent-macOS-(x64)-2.3.0.zip"
sudo unzip -d ./raygun "RaygunAgent-macOS-(x64)-2.3.0.zip"
sudo rm "RaygunAgent-macOS-(x64)-2.3.0.zip"
sudo chmod +x -R ./raygun/*

To run the agent, use the start_agent.sh script in the bin directory

./raygun/bin/start_agent.sh

Once the Agent is installed, you can begin profiling your application. Please refer to the Profiler Setup for instructions on setting up the profiler for your Language/Environment.