macOS

Install Forwarder on macOS #

With Homebrew #

On macOS you can install Forwarder with Homebrew:

Install #

brew tap saucelabs/tap
brew install forwarder

Edit config file #

This step is optional. You can use default configuration or configure Forwarder with flags or environment variables. See CLI reference for more details.

forwarder run config-file > forwarder.yaml
vim forwarder.yaml

Start Forwarder #

forwarder run --config-file forwarder.yaml

With zip package #

Forwarder provides .zip package with a signed binary that can be used on any macOS version.

Unpack the zip file #

curl -L -o forwarder.zip https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_darwin-signed.all.zip
sudo mkdir -p /opt/forwarder
sudo unzip -d /opt/forwarder forwarder.zip

Check the signature #

Run the following command, you should see Developer ID Application: SAUCE LABS INC.

codesign -dvv /opt/forwarder/forwarder
sudo ln -s /opt/forwarder/forwarder /usr/local/bin/forwarder

Add completion #

```bash echo 'source <(forwarder completion zsh)' >>~/.zshrc ```
```bash echo 'source <(forwarder completion bash)' >>~/.bash_profile ```

Edit config file #

This step is optional. You can use default configuration or configure Forwarder with flags or environment variables. See CLI reference for more details.

vim /opt/forwarder/forwarder.yaml

Start Forwarder #

forwarder run --config-file /opt/forwarder/forwarder.yaml

© 2024 Sauce Labs Inc.