The Blnk CLI
Learn how to use our command-line tool to interact with your ledger
The Blnk CLI is a command-line interface that allows you to interact directly with your Blnk Ledger or any remote instance of a Blnk Ledger from your terminal. You get access to a suite of commands to read, manage and configure your ledger efficiently.
Prerequisites
To use the Blnk CLI, ensure you have the following:
- Node.js and npm. If you don’t have them, visit the Node official website to download.
- A running instance of Blnk
If you haven’t installed the Blnk Ledger, read our installation guide to get started.
Installation
To install the Blnk CLI tool, run the following command in your terminal.
This installs the Blnk CLI globally on your system, allowing you to access it from anywhere.
Confirm installation
To confirm that you have installed it, run the following command in your terminal.
This commmand should display the installed version of the Blnk CLI.
Basic Usage
Here are some basic commands to get you started. Ensure your Blnk Ledger is running before you start running these commands.
Connect to a different instance
This command allows the Blnk CLI to connect and manage a different instance outside of your machine. It is unprotected, however.
Securely connect to a different instance
This command ensures a secure connection to a different instance using its secret key (token) as authentication.
View all ledgers
This command displays a table of all the ledgers in your Blnk Ledger.
View all balances
This command displays a table of all the ledger balances in your Blnk Ledger.
View all transactions
This command displays a table of all the transactions in your Blnk Ledger.
Help manual
This command displays a list of all the commands and their function. To find the help manual for a particular command, run the following command:
Need help?
We are very happy to help you make the best of Blnk, regardless of whether it is your first time or you are switching from another tool.
To ask questions or discuss issues, please join our Discord community.
Was this page helpful?