--- title: snrd prune description: Prune app history states by keeping the recent heights and deleting old heights. --- # snrd prune Prune app history states by keeping the recent heights and deleting old heights. ## Usage ```shell snrd prune [pruning-method] [flags] ``` ## Flags The type of database for application and snapshots databases for prune The application home directory Height interval at which pruned heights are removed from disk (ignored if pruning is not 'custom'), Number of recent heights to keep on disk (ignored if pruning is not 'custom') ## Global Flags Transaction broadcasting mode (sync|async) Specify Chain ID for sending Tx Fees to pay along with transaction; eg: 10aatom Name or address of private key with which to sign adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored Gas prices to determine the transaction fee (e.g. 10aatom) Select keyring's backend The logging format (json|plain) The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') colored logs <host>:<port> to tendermint rpc interface for this chain out full stack trace on errors ## Examples ### Basic usage ```shell snrd prune ``` ## See Also - [snrd](./snrd.mdx) - Parent command