PleskApp CLI is a tool that is installed on your local machine (not on the Plesk one) to manage Plesk remotely from the console. Target audiences are experienced administrators and developers who like to speed up the operations, automate routine procedures, manage the things using CLI.
Current development status is "early alpha version".
Here is the list of features:
plesk servers
- Manage known serversplesk login
- Automatic login to the server (in the browser)plesk ssh
- Login to server using SSHplesk domains
- Manage domains on the serverplesk databases
- Manage databases on the serverplesk web
- Run local web server to serve current directoryplesk deploy
- Deploy the app from the current directory to default server- Bash and ZSH autocompletion support
Here is the command to install the utility:
curl -fsSL https://raw.githubusercontent.com/plesk/pleskapp/master/install.sh | bash
The utility will be installed to /usr/local/bin/
directory, so please make sure the path is present in PATH
environment variable. To test it one can use the following command:
plesk version
Alternative way if you have Go 1.16+ installed:
go install github.com/plesk/pleskapp/plesk
The utility is written in Go, so the corresponding toolchain should be installed first.
There is a Makefile with bunch of targets. One can use the following command to build the binary:
make