CLI commands to install Wordpress and Quick install apps

I was wondering, if the Quick install apps, like Wordpress, can be installed via command line interace of Hestia? I did not find any documentation so asking the core devs here. Please let me know if I can.

There is currently no method for it…

I see…!

Would request the devs to make the CLI version in if possible, that should really help old school admin like us who never actually go inside the WebGUI for most of the operations.
many thanks

You might want to poke around in the repository GitHub - hestiacp/hestiacp: Hestia Control Panel | A lightweight and powerful control panel for the modern web. and find the php page that creates that and see if you can figure out how it works. It might be relatively easy to write a new cli command and submit a pull request to add it to hestiacp. I use hestiacp exclusively for the cli functionality and build my servers and my networks of domains using hestia cli and ansible. The GUI is nice sometimes but I script everything.

Additionally as a workaround if you just need wordpress you can

  1. add database: CLI Reference | Hestia Control Panel
  2. install wp cli CLI Reference | Hestia Control Panel OR GitHub - wp-cli/wp-cli: ⚙️ WP-CLI framework
  3. use wp cli to install wp: How to install WordPress – WP-CLI
1 Like

It will work Wordpress but not for other “items”

Ideally you want to run:

v-install-app user domain wordpress xxxx

User / Domain / App are easy but how to handle the input …

Thanks @evonet , I’m already using scripted wp-cli install. Just thought using Hestia-CLI might make it faster and you also can use for other type of apps.

@eris lets make for WordPress for now at the least… it is one of the most used/installed app so will be handy for Sysadmins. Rest of the apps people can contribute at will. Thanks a lot.