# \#licensing

**URL:** https://community.replicated.com/tag/licensing/4.md

[Latest](https://community.replicated.com/latest.md) · [Categories](https://community.replicated.com/categories.md) · [Tags](https://community.replicated.com/tags.md)

---

## [How do I sync a license from the command line?](https://community.replicated.com/t/how-do-i-sync-a-license-from-the-command-line/660)

<div class="topic-metadata">

**Author:** [@Mariel\_Wilding](https://community.replicated.com/u/Mariel_Wilding)\
**Replies:** 0\
**Last updated:** [January 14, 2022, 2:08pm UTC](https://community.replicated.com/t/how-do-i-sync-a-license-from-the-command-line/660 "2022-01-14T14:08:02Z")

</div>

You can sync a license via the CLI using the replicatedctl license inspect command and you’ll be given a --sync option. Additional options can be found here.

---

## [What do I do when I upload a license and get an error that it already exists?](https://community.replicated.com/t/what-do-i-do-when-i-upload-a-license-and-get-an-error-that-it-already-exists/637)

<div class="topic-metadata">

**Author:** [@Mariel\_Wilding](https://community.replicated.com/u/Mariel_Wilding)\
**Replies:** 0\
**Last updated:** [January 3, 2022, 1:54pm UTC](https://community.replicated.com/t/what-do-i-do-when-i-upload-a-license-and-get-an-error-that-it-already-exists/637 "2022-01-03T13:54:17Z")

</div>

Delete the license using: kubectl kots remove \<app-slug\> -n \<namespace\> then re-upload the license.
