> 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="https://376477692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpEc5AYcvy13WgrhDLCoV%2Fuploads%2FBathQrOe7sZpMB9WA0HY%2Fimage.png?alt=media&amp;token=47b2bae0-6852-4230-9548-dec8bcff5ec8" alt=""><figcaption><p>Adding liquidity to a vault</p></figcaption></figure>

<figure><img src="https://376477692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpEc5AYcvy13WgrhDLCoV%2Fuploads%2FGL7FdZPJiHgl8osl7U4o%2Fimage.png?alt=media&amp;token=738f9699-53a8-410c-9234-7fbfa05613c1" alt=""><figcaption><p>Removing liquidity</p></figcaption></figure>
