Autoblocks CLI
The Autoblocks CLI is a tool for interacting with the Autoblocks platform and APIs via the command line.
Setup
In order to use the Autoblocks CLI, ensure you have node
and npm
installed.
It's possible you already have npm
installed on your machine. You can check with:
npm -v
If you don't have node
/ npm
installed, we recommend using nvm
(a Node.js version manager)
to do so. You can install nvm
per their instructions.
Then:
nvm install node
nvm alias default node
Run the CLI
Check you can run the CLI with:
npx autoblocks --help
We recommend running the CLI via npx
(as opposed to installing it globally) so that you are always using the latest version.