did the 3 installation steps went well?
the command for the node check is: node -v
after that
sudo apt-get update
sudo apt-get install build-essential git
and then
cd /home/pi
mkdir pimatic-app
npm install pimatic --prefix pimatic-app --production