[](https://www.npmjs.org/package/@gxchain2/cli) 
npm install @gxchain2/cli
!License
Command Line of GXChain2.0
This project is currently under development, only testnet provides bootnode.
```
npm install @gxchain2/cli --global
`
Usage: gxchain2 [options] [command]
Options:
-V, --version output the version number
--rpc open rpc server
--rpc-port
--rpc-host
--rpc-api
--p2p-tcp-port
--p2p-udp-port
--p2p-nat
--max-peers
--max-dials
--bootnodes
--datadir
--keystore
--unlock
--password
--chain
--mine mine block
--coinbase miner address
--verbosity
-h, --help display help for command
Commands:
account Manage accounts
`
Block producer startup
``
gxchain2 --mine --coinbase 0x...abc --unlock 0x...abc --password ./password
Normal node startup
``
gxchain2 --rpc --rpc-host 0.0.0.0
Bootnode startup
``
gxchain2 --p2p-nat 1.2.3.4
Testnet node startup
```
gxchain2 --chain gxc2-testnet