Node.js based Command Line Interface (CLI) for Slack making use of Slack Web APIs
For development, you will only need Node.js and a node global package, NPM, installed in your environement.
-
Just go on official Node.js website and download the installer. Also, be sure to have
git
available in your PATH,npm
might need it (You can find git here). -
You can install nodejs and npm easily with apt install, just run the following commands.
$ sudo apt install nodejs $ sudo apt install npm
-
You can find more information about the installation on the official Node.js website and the official NPM website.
$ cd slack-node-cli
$ npm install
$ npm link
$ npm run test
$ slack-node-cli sendmessage