############
Installation
############

Download the latest version of RSKtools from the `RBR website`_ or clone the repository.

Add the RSKtools folder to your MATLAB path:

.. code-block:: matlab

    addpath('/path/to/rsktools')

.. NOTE::

    * RSKtools requires a working ``mksqlite`` library. Pre-compiled binaries are included for
      Windows (32/64 bit), Linux (64 bit), and macOS (64 bit). If you need a different version,
      compile from source using the files in the ``mksqlite-src`` directory or download from
      `SourceForge <https://sourceforge.net/projects/mksqlite/files/>`_.

    * Some derived quantity functions (salinity, density, sound speed, etc.) require the
      `TEOS-10 GSW`_ MATLAB toolbox. Install it separately and add it to your MATLAB path.

After RSKtools has been installed, you may refer to the :doc:`getting started </guides/getting-started-guide>` guide for usage information.

.. _RBR website: https://rbr-global.com/support/matlab-tools
.. _TEOS-10 GSW: https://www.teos-10.org/software.htm
