In order to install rebar tools, use
npm install -g rebar-tools
In order to verify that the tools are installed use
rebar version