how to install lightgbm on mac

Shell
(bash) >>> brew update(bash) >>> brew upgrade(bash) >>> pip uninstall lightgbm(bash) >>> git clone --recursive https://github.com/Microsoft/LightGBM ; cd LightGBM(bash) >>> export CXX=g++-8 CC=gcc-8(bash) >>> mkdir build ; cd build(bash) >>> cmake ..(bash) >>> make -j4(bash) >>> pip install --no-binary :all: lightgbm
Source

Also in Shell: