Lisk Core commands
Install and manage an instance of Lisk Core.
The commands for Lisk Core are not compatible with other distributions or with installations from the Lisk Core binary script. To manage Lisk Core with Lisk Commander, first uninstall the old version and perform a fresh installation. |
lisk core:install NAME
Install an instance of Lisk Core.
USAGE
$ lisk core:install NAME
ARGUMENTS
NAME Lisk Core installation directory name.
OPTIONS
-n, --network=mainnet|testnet|betanet|alphanet|devnet [default: mainnet] Lisk Core network name.
-r, --release-url=release-url Lisk Core download URL.
-s, --snapshot-url=snapshot-url [default:
https://downloads.lisk.io/lisk/mainnet/blockchain.db.gz] Lisk
Core blockchain snapshot URL.
--lisk-version=lisk-version Lisk Core version.
--no-snapshot Install Lisk Core without a blockchain snapshot.
--no-start Install Lisk Core without starting.
EXAMPLES
core:install lisk-mainnet
core:install --no-start lisk-mainnet
core:install --no-snapshot lisk-mainnet
core:install --lisk-version=2.0.0 lisk-mainnet
core:install --network=testnet --release-url=https://downloads.lisk.io/lisk/testnet/2.0.0-rc.0/lisk-2.0.0-rc.0-Linux-x86_64.tar.gz lisk-testnet
core:install --network=mainnet --snapshot-url=https://downloads.lisk.io/lisk/mainnet/blockchain.db.gz custom-mainnet
See code: dist/commands/core/install.ts
lisk core:logs NAME
Stream logs of a Lisk Core instance.
USAGE
$ lisk core:logs NAME
ARGUMENTS
NAME Lisk Core installation directory name.
EXAMPLE
core:logs mainnet-latest
See code: dist/commands/core/logs.ts
lisk core:restart NAME
Restart Lisk Core instance.
USAGE
$ lisk core:restart NAME
ARGUMENTS
NAME Lisk Core installation directory name.
EXAMPLE
core:restart mainnet-latest
See code: dist/commands/core/restart.ts
lisk core:start NAME
Start Lisk Core instance.
USAGE
$ lisk core:start NAME
ARGUMENTS
NAME Lisk Core installation directory name.
EXAMPLE
core:start mainnet-latest
See code: dist/commands/core/start/index.ts
lisk core:start:cache NAME
Start the cache server.
USAGE
$ lisk core:start:cache NAME
ARGUMENTS
NAME Lisk Core installation directory name.
EXAMPLE
core:start:cache mainnet-latest
See code: dist/commands/core/start/cache.ts
lisk core:start:database NAME
Start the database server.
USAGE
$ lisk core:start:database NAME
ARGUMENTS
NAME Lisk Core installation directory name.
EXAMPLE
core:start:database mainnet-latest
See code: dist/commands/core/start/database.ts
lisk core:status NAME
Show the status of a Lisk Core instance.
USAGE
$ lisk core:status [NAME]
ARGUMENTS
NAME Lisk Core installation directory name.
OPTIONS
-j, --[no-]json Prints output in JSON format. You can change the default behaviour in your config.json file.
--[no-]pretty Prints JSON in pretty format rather than condensed. This has no effect if the output is set to table. It is possible to change the default behaviour in your config.json file.
EXAMPLES
core:status
core:status mainnet-latest
See code: dist/commands/core/status.ts
lisk core:stop NAME
Stop Lisk Core instance.
USAGE
$ lisk core:stop NAME
ARGUMENTS
NAME Lisk Core installation directory name.
EXAMPLE
core:stop mainnet-latest
See code: dist/commands/core/stop/index.ts
lisk core:stop:cache NAME
Stop the cache server.
USAGE
$ lisk core:stop:cache NAME
ARGUMENTS
NAME Lisk Core installation directory name.
EXAMPLE
core:stop:cache mainnet-latest
See code: dist/commands/core/stop/cache.ts
lisk core:stop:database NAME
Stop the database server.
USAGE
$ lisk core:stop:database NAME
ARGUMENTS
NAME Lisk Core installation directory name.
EXAMPLE
core:stop:database mainnet-latest
See code: dist/commands/core/stop/database.ts
lisk core:uninstall NAME
Uninstall an instance of Lisk Core.
USAGE
$ lisk core:uninstall NAME
ARGUMENTS
NAME Lisk Core installation directory name.
EXAMPLE
core:uninstall mainnet-latest
See code: dist/commands/core/uninstall.ts
lisk core:upgrade NAME
Upgrade an instance of Lisk Core (Binary), to a specified version or the latest version.
The core:upgrade command is only supported for Lisk Core versions > 2.0.0 .
|
USAGE
$ lisk core:upgrade NAME
ARGUMENTS
NAME Lisk Core installation directory name.
OPTIONS
-r, --release-url=release-url Lisk Core download URL.
--lisk-version=lisk-version Lisk Core version.
EXAMPLES
core:upgrade lisk-mainnet
core:upgrade --lisk-version=2.0.0 lisk-mainnet
core:upgrade --release-url=https://downloads.lisk.io/lisk/testnet/2.1.0-rc.0/lisk-2.1.0-rc.0-Linux-x86_64.tar.gz
lisk-mainnet
See code: dist/commands/core/upgrade.ts