Skip to content

Usage Examples

piotr-iohk edited this page Mar 1, 2023 · 2 revisions

INTERNAL CONFIG:

Check internal config file contents:

$ cardano-up config

BINARIES AND NETWORK CONFIGS:

Get latest release binaries and verify versions:

$ cardano-up install latest
$ cardano-up -v

Get configuration for 'preview' network:

$ cardano-up get-configs preview

SERVICE MANAGEMENT:

Note: If you have no configs for particular env 'up' subcommand will download them on the fly. If no binaries, latest release will be installed, otherwise it will use what is in the 'bin_dir'.

Start node and wallet on mainnet:

$ cardano-up mainnet up

Start node on preprod:

$ cardano-up preprod node up

Check active sessions:

$ cardano-up ls

Check details of what is running on mainnet and preprod or details of given component:

$ cardano-up mainnet
$ cardano-up preprod
$ cardano-up mainnet wallet
$ cardano-up preprod node

Check health of node and wallet on mainnet:

$ cardano-up mainnet node ping
$ cardano-up mainnet wallet ping

Monitor mainnet wallet and node logs (Ctrl + c to stop):

$ cardano-up mainnet node tail
$ cardano-up mainnet wallet tail -n 100

Stop preprod node:

$ cardano-up preprod node down

Stop mainnet node and wallet:

$ cardano-up mainnet down
Clone this wiki locally