Simplify Your Server Management with FlyWP’s Server CLI Tool
The FlyWP Server CLI (fly) is your all-in-one tool for managing WordPress servers powered by Docker. Designed for simplicity and efficiency, it streamlines server setup, site management, and troubleshooting. Whether you’re a developer, sysadmin, or agency, this guide will help you unlock the full potential of FlyWP Server CLI.
Why Use FlyWP CLI?
Simplify Complex Tasks
- No Docker expertise required: Manage containers, databases, and services with simple commands.
- Preconfigured stacks: MySQL, Redis, Nginx Proxy, and Ofelia are automatically set up and managed.
Time-Saving Automation
- Deploy WordPress sites in seconds.
- Execute WP-CLI commands across multiple sites with one command.
Consistency & Scalability
- Ensure identical environments across development, staging, and production.
- Manage dozens of sites with centralized control.
Debugging Made Easy
- Instant access to logs, container restarts, and system status checks.
Installation
Prerequisites
Before we jump into the installation, make sure you have these essentials:
- Docker: The backbone of containerization.
- Docker Compose: For orchestrating multi-container Docker applications.
Quick Install
Ready to install? Just run this command in your terminal. It will download and execute the install.sh script, which takes care of everything for you:
curl -sL https://raw.githubusercontent.com/flywp/server-cli/main/install.sh | sudo bash
And voilà! The FlyWP server-cli tool is installed in (/usr/local/bin). You can run the command to check if it succeeded.
fly --help
