id | title | sidebar_label |
---|---|---|
macos |
Install Sauce Connect on macOS |
macOS |
import useBaseUrl from '@docusaurus/useBaseUrl'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
On macOS you can install Sauce Connect with Homebrew
brew tap saucelabs/tap
brew install sauce-connect
This step is optional. You can use default configuration or configure Sauce Connect with flags or environment variables. See CLI reference for more details.
Get the default configuration file:
sc run config-file > sauce-connect.yaml
Edit the configuration file with your favorite editor:
vim sauce-connect.yaml
sc run --config-file sauce-connect.yaml
Sauce Connect provides .zip
package with a signed binary that can be used on any macOS version.
curl -L -o sauce-connect.zip https://saucelabs.com/downloads/sauce-connect/5.2.2/sauce-connect-5.2.2_darwin.all.zip
sudo mkdir -p /opt/sauce-connect
sudo unzip -d /opt/sauce-connect sauce-connect.zip
Run the following command, you should see Developer ID Application: SAUCE LABS INC
.
codesign -dvv /opt/sauce-connect/sc
sudo ln -s /opt/sauce-connect/sc /usr/local/bin/sc
<Tabs defaultValue="Zsh" values={[ {label: 'Zsh', value: 'Zsh'}, {label: 'Bash', value: 'Bash'}, ]}>
echo 'source <(sc completion zsh)' >>~/.zshrc
echo 'source <(sc completion bash)' >>~/.bash_profile
This step is optional. You can use default configuration or configure Sauce Connect with flags or environment variables. See CLI reference for more details.
Edit the configuration file with your favorite editor:
vim /opt/sauce-connect/sauce-connect.yaml
sc run --config-file /opt/sauce-connect/sauce-connect.yaml