You can install Xero via the plugin store, or through Composer.
To install Xero, navigate to the Plugin Store section of your Craft control panel, search for Xero
, and click the Try button.
You can also add the package to your project using Composer and the command line.
Open your terminal and go to your Craft project:
cd /path/to/project
Then tell Composer to require the plugin, and Craft to install it:
composer require verbb/xero && php craft plugin/install commerce-xero