There is an easier way to install ACF via WP-CLI now since wp plugin install
accepts “<plugin|zip|url>” as a first parameter. Docs here.
Just run wp plugin install “http://connect.advancedcustomfields.com/index.php?p=pro&a=download&k=<YOUR_KEY>”
and that’s it. You can also add --activate
flag to activate ACF after installation.