Licence for local and live

When I use octobercms can I use it to develop my site local when the local domain ist local.test and the live page is on or must I buy 2 licenzes?

Hi and welcome @nialma. Here is a quote from the EULA:

  • […] a License Key that allows you to install the Licensed Software to create a single production or non-production website and ancillary installations needed to support that single production or non-production website;

The live page requires a license, and it includes the local site (ancillary installation) to support it. So, in your example, you only need one license.

I hope this helps!