> For the complete documentation index, see [llms.txt](https://docs.mangrove.exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mangrove.exchange/dev/vaults/managing-a-vault-cli/adding-or-removing-liquidity.md).

# Adding or removing liquidity

The cli provides function to add or remove liquidity to the vault for testing purposes or the fee recipient to withdraw its fee shares.

<figure><img src="/files/b4xvvokosiVYX7VZ3t5E" alt=""><figcaption><p>Adding liquidity to a vault</p></figcaption></figure>

<figure><img src="/files/FDFKajQipL2QtrSOEqm4" alt=""><figcaption><p>Removing liquidity</p></figcaption></figure>
