a general set of CLI for arcblock Forge framework
npm install @arcblock/forge-cli> Command line toolbox maintained by Arcblock that helps developers to work with Forge SDK
- Introduction
- QuickStart
- Requirements
- Install
- Usage
- FAQ





forge-cli is an awesome toolbox for developers to work with forge, and forge is an awesome framework for building decentralized applications. Out of the box forge-cli support following features:
- Manage forge kernel release
- Manage local forge node, join a remote forge powered network
- Create wallets and accounts on blockchain
- Read/subscribe accounts/blocks/transactions/assets on blockchain
- Send transactions to the blockchain
- Use forge components such as forge-web
- Compile and deploy transaction protocol
- Do stake to node/user/asset
- Bootstrap dApps with starters from here
- Linux/Mac Command Line, windows is not support currently, iTerm is recommended.
- Node.js: please install using nvm, >= v10 && <= v12.x

``shell`
npm install -g @arcblock/forge-cliOR
yarn global add @arcblock/forge-cli
Now forge command is available to all new shell sessions.
Run forge and get available options and subcommands.
`terminal
❯ forge
██████╗ ██╗ ██╗ █████╗ ██████╗ ██████╗██████╗ ██╗ ██████╗ ██████╗██╗ ██╗
██╔══██╗╚██╗ ██╔╝ ██╔══██╗██╔══██╗██╔════╝██╔══██╗██║ ██╔═══██╗██╔════╝██║ ██╔╝
██████╔╝ ╚████╔╝ ███████║██████╔╝██║ ██████╔╝██║ ██║ ██║██║ █████╔╝
██╔══██╗ ╚██╔╝ ██╔══██║██╔══██╗██║ ██╔══██╗██║ ██║ ██║██║ ██╔═██╗
██████╔╝ ██║ ██║ ██║██║ ██║╚██████╗██████╔╝███████╗╚██████╔╝╚██████╗██║ ██╗
╚═════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝
Usage: forge [options] [command]
Options:
-V, --version output the version number
-v, --verbose Output runtime info when execute subcommand, useful for debug
-c, --chain-name
-i, --config-path
-r, --npm-registry
-y, --yes Assume that the answer to any confirmation question is yes
-d, --defaults Run command using default values for all questions
-m, --mirror
-g, --socket-grpc
-h, --help output usage information
Commands:
account
Examples:
Please install a forge-release before running any other commands
> forge install latest
> forge install --mirror https://releases.arcblockio.cn
Curious about how to use a subcommand?
> forge help install
``
Checkout FAQ.md