I am trying to install the Shopify API onto a WordPress site by SSHing into the server and using WP CLI.
I have tried using the command
wp package install https://github.com/Shopify/shopify-api-php.git
But it didn't work and I received this error:
Error: Composer directory '/.wp-cli/packages' for packages couldn't be created: mkdir(): Read-only file system
I can make directories else where in the server, so it just seems the default location for the packages to be installed can't be accessed?
Any advice on how to make this work?
I'm also open to not using WP CLI.
I did try speaking to WordPress support, but they weren't very helpful.