# Installation of TPCCLIB CLI software on macOS

Currently, TPCCLIB binary package must be installed manually on macOS (OSX):

## 1. Create a folder for applications

Open the terminal window, and enter the following commands:

sudo -s mkdir /usr/local/bin/tpcclib
sudo -s chmod 777 /usr/local/bin/tpcclib


## 2. Add the folder to PATH environment variable

Open the hidden file .bash_profile, located in your home directory. For example, use command

nano ${HOME}/.bash_profile  Then add the following lines to the end of the file: export PATH=${PATH}:/usr/local/bin/tpcclib
export TPCCLIBPATH=/usr/local/bin/tpcclib


Save and close the file. To apply changes immediately enter this command:

source \${HOME}/.bash_profile


## 3. Copy the application binaries to the binary folder

First, download the binary package (tpcclib-*.*.*-Darwin-x64.tar.gz) from here, or from another location mentioned in .

Open the downloaded package, and find the bin folder inside it. Copy all applications files inside that folder into /usr/local/bin/tpcclib.

You can now use the applications in terminal window, regardless of the current working path.