> For the complete documentation index, see [llms.txt](https://docs.123buyelectronic.com/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.123buyelectronic.com/home/user-manual/use-on-mac-os.md).

# USE  On MAC OS

## Method 1

```
Run precompiled SavvyCAN with Peak CAN-USB support on macOS X 12.5.1 (Monterey)
===============================================================================
Download Address: https://github.com/collin80/SavvyCAN/files/9498085/SavvyCAN.V207.Built.Sep.5.2022.for.macOS.12.5.1.with.Peak.PCAN-USB.device.support.zip

1.1 - Install the pre-compiled MacCAN driver 0.11.2:
$ cp libPCUSB.0.11.2.dylib /usr/local/lib/libPCUSB.dylib

1.2 - Double click on SavvyCAN.app

```

## Method2

<pre><code>2 Compile SavvyCAN with Peak CAN-USB support on macOS X 12.5.1 (Monterey)
=======================================================================
Reference: https://mac-can.com/ 
<strong>
</strong><strong>0 - Pre-requesite: QT 5.15.5 must be installed using HowmeBrew
</strong>
2.1 - Download and install the MacCAN driver 0.11.2
$ wget https://github.com/mac-can/PCBUSB-Library/releases/download/v0.11.2/macOS_Library_for_PCANUSB_v0.11.2.tar.gz
$ tar xvzf macOS_Library_for_PCANUSB_v0.11.2.tar.gz
$ cd macOS_Library_for_PCANUSB_v0.11.2
$ make install

2.2 - Download and compile QTSerialBus 5.15.5
$ git clone https://github.com/qt/qtserialbus.git
$ cd qtserialbus
$ git checkout v5.15.5-lts-lgpl
$ qmake
$ make

2.3 - Download and compile the latest version of SavvyCAN
$ git clone https://github.com/collin80/SavvyCAN.git
$ cd SavvyCAN
$ qmake
$ make

2.4 - Build SavvyCAN bundled with all plugins and libraries includes
$ macdeployqt SavvyCAN.app
$ cp -r ../qtserialbus/plugins/canbus SavvyCAN.app/Contents/PlugIns/
$ macdeployqt SavvyCAN.app
</code></pre>

## Download Link

{% file src="/files/E6HhZ05yP5hWcZL0nZGc" %}

{% file src="/files/bIoTQsSqKgexrNcR92MH" %}
