# Set license without accessing UI

**URL:** <https://forum.pritunl.com/t/set-license-without-accessing-ui/3406>\
**Category:** Pritunl\
**Created:** [July 7, 2025, 2:25pm UTC](https://forum.pritunl.com/t/set-license-without-accessing-ui/3406 "2025-07-07T14:25:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkalugeroff](https://forum.pritunl.com/user_avatar/forum.pritunl.com/kkalugeroff/32/1298_2.png) [@kkalugeroff](https://forum.pritunl.com/u/kkalugeroff)\
**Post date:** [July 7, 2025, 2:25pm UTC](https://forum.pritunl.com/t/set-license-without-accessing-ui/3406/1 "2025-07-07T14:25:55Z")

</div>

Is it possible to set the license without accessing the PritunlVPN UI , like it is possible to set the database connection string?

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [July 8, 2025, 1:15pm UTC](https://forum.pritunl.com/t/set-license-without-accessing-ui/3406/2 "2025-07-08T13:15:37Z")

</div>

The newlines and headers need to be removed then the string can be set with `sudo pritunl set app.license '"LICENSE"'` with the double quotes.
