2.3. Use#

This section explains which commands are available to manage your node.

2.3.1. Quick start#

To create a new node, run the command below. A menu will be started that allows you to set up a node configuration file. For more details, check out the Configure section.

vnode new

To run a node, execute the command below. The --attach flag will cause log output to be printed to the console.

vnode start --name <your_node> --attach

Finally, a node can be stopped again with:

vnode stop --name <your_node>

2.3.2. Available commands#

Below is a list of all commands you can run for your node(s). To see all available options per command use the --help flag, i.e. vnode start --help .

Command

Description

vnode new

Create a new node configuration file

vnode start

Start a node

vnode stop

Stop a nodes

vnode files

List the files of a node (e.g. config and log files)

vnode attach

Print the node logs to the console

vnode list

List all existing nodes

vnode create-private-key

Create and upload a new public key for your organization

vnode set-api-key

Update the API key in your node configuration file

Local test setup#

Check the section on Local test setup of the server if you want to run both the node and server on the same machine.