# CLI commands server-side

**URL:** <https://forum.pritunl.com/t/cli-commands-server-side/925>\
**Category:** Pritunl\
**Tags:** pritunl\
**Created:** [April 3, 2023, 10:26am UTC](https://forum.pritunl.com/t/cli-commands-server-side/925 "2023-04-03T10:26:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlbertoChichon](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/47e85d/32.png) [@AlbertoChichon](https://forum.pritunl.com/u/AlbertoChichon)\
**Post date:** [April 3, 2023, 10:26am UTC](https://forum.pritunl.com/t/cli-commands-server-side/925/1 "2023-04-03T10:26:21Z")

</div>

Hey Folks!

I’m trying to make some changes in our server programmatically, but every time I run a command I get the following error. I found this commands on the internet so I don’t know if they are correct. Also, is there any list of the commands we can use in CLI?

Thanks in advance!

 ![Captura desde 2023-04-03 12-22-10](https://forum-static.pritunl.com/original/1X/f33ed12a5c5528eb96bd3eb04bb07c2a0a6f2357.png)

---

<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:** [April 3, 2023, 1:08pm UTC](https://forum.pritunl.com/t/cli-commands-server-side/925/2 "2023-04-03T13:08:32Z")

</div>

The server doesn’t have any commands to manage the server configuration.

---

<div class="post-metadata">

**Author:** ![AlbertoChichon](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/47e85d/32.png) [@AlbertoChichon](https://forum.pritunl.com/u/AlbertoChichon)\
**Post date:** [April 3, 2023, 1:38pm UTC](https://forum.pritunl.com/t/cli-commands-server-side/925/3 "2023-04-03T13:38:26Z")

</div>

@zach Why not? I just fresh installed following the official documentation. Do I need any license to manage the server via CLI?

---

<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:** [April 4, 2023, 12:55am UTC](https://forum.pritunl.com/t/cli-commands-server-side/925/4 "2023-04-04T00:55:59Z")

</div>

There’s no CLI commands to manage the server configuration with or without a subscription. There is a [**community Pritunl Terraform provider**](https://github.com/disc/terraform-provider-pritunl) that can automate some configuration.

---

<div class="post-metadata">

**Author:** ![AlbertoChichon](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/47e85d/32.png) [@AlbertoChichon](https://forum.pritunl.com/u/AlbertoChichon)\
**Post date:** [April 4, 2023, 6:21am UTC](https://forum.pritunl.com/t/cli-commands-server-side/925/5 "2023-04-04T06:21:47Z")

</div>

@zach That terraform provider needs API access which requires an enterprise license. This is a no go for us, as we need to be able to change routes on daily basis. Found some “pritunl set/get” commands but we can’t change routes for instance.
