Request by sending an email to developer@vatom.com
Before installing the @vatom/cli, check to see if you already have the necessary system requirements by running which node
and which npm
Sign Up: To begin development, you must first create a Vatom Account by registering at studio.vatom.com
Get your Business ID: When creating a Vatom account, you are creating a business account. Every business has its associated business ID. This business ID will allow you to use the CLI tool.
To find your business ID go to: Studio > Profile Icon (top right corner) > Settings > Profile. Copy this ID down for ease of use.
Note: When using the CLI to create plugins on the Vatom Market, there are additional prerequisites that must be met. Please see the Plugin Documentation for more information.
Ensure that you have Node installed:
Install the CLI by running npm install --global @vatom/cli@latest
Note: If you don't want to install it globally you can run it with NPX instead, by prepending
npx -p @vatom/cli
to every vatom command you run.For example:
vatom auth
becomesnpx -p @vatom/cli vatom auth
Test it by running vatom --version
.
Once everything is installed, authorize your Vatom Account by running the command vatom auth
.
This will open a tab in your browser that will let you sign in. If the sign-in process is successful, you will see the success message as seen below.
✔ You have successfully authenticated the Vatom CLI to your Vatom Studio account.
If you are working behind a highly restrictive firewall, it is possible that the CLI will issue the following error message:
UNABLE_TO_GET_ISSUER_CERT_LOCALLY
If so, there is a workaround. It is possible to relax restrictions applied internally by the CLI without compromising the security provided by your firewall. To use this workaround, issue the following environment variable setting from a terminal prompt:
% set NODE_TLS_REJECT_UNAUTHORIZED=0
There are many things you can do with the Vatom CLI. Here are some examples: