{"repo":"blackhan-software/avalanche-cli","free":true,"listed":false,"github":"https://github.com/blackhan-software/avalanche-cli","clone":"git clone https://github.com/blackhan-software/avalanche-cli.git","description":"A command line interface for Avalanche APIs","language":"Shell","stars":19,"topics":["avalanche","blockchain","api","cli","avax"],"license":"BSD-3-Clause","category":"cli-tools","readme_excerpt":"A Command Line Interface for Avalanche APIs Options Installation First of all, it is possible to run avalanche-cli without any installation whatsoever, by simply invoking it via [ npx ] (aka the [ npm ] package executor): But, if you decide to permanently install it via [ npm ], then do so with: Also, an installation via npm activates command line completion (i.e. hitting the TAB key after writing avalanche-cli should offer a list of available commands and options). Finally, for avalanche-cli to work properly your operating system needs to provide the dependencies below. Dependencies Or instead of zsh : Optional: Only for installation (and for [ npx ]): Usage All CLI options of the avalanche-cli tool can also be set via environment variables. It assumes by default an [AVAX] node available at https://api.avax.network &ndash; although this can be changed by setting and exporting the AVAX NODE variable or by using the corresponding --node ( -N ) option. JSON processing with [ jq ] Since avalance-cli does not process any JSON reponses, it is recommended to use the excellent [ jq ] command line JSON processor to handle them. For example: ..where the -S ( --silent-rpc ) option tells the internal curl tool to not produce unnessary output, so we get the desired result from above. ;D Common Options All commands share the following options and corresponding environment variables: ${AVAX NODE-https://api.avax.network} or --node ( -N ) Can be used to set the [AVAX] node which the avalanc","default_branch":null,"files":null,"tree":[],"storefront":"/r/blackhan-software","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/blackhan-software/avalanche-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}