Linux Capable published a tutorial about installing WP-CLI on Linux server for WordPress.
How to Install WP-CLI on Linux Server for WordPress
WP-CLI is the command-line interface for WordPress. The WP-CLI is a tool that enables you to interact with your WordPress site directly by using commands in a text-based interface. It’s also very comprehensive, featuring a wide variety of potential commands. Almost anything you can do on the back end of your site, you can do much faster using the WP-CLI.
How to Install WP-CLI on Linux Server for WordPress - LinuxCapable