# System Configuration File

## System Configuration File

{% hint style="info" %}
Since **magento-scripts 1.5.1**
{% endhint %}

This configuration file is located in your home directory and should have a name `.cmarc`.\
As it is not created automatically, you will need to do it manually.\
The default configuration file looks like this:

{% code title="$HOME/.cmarc" %}

```javascript
  {
    "useNonOverlappingPorts": false,
    "analytics": true
  }
```

{% endcode %}

This configuration file contains the following configuration options:

### Use Non-Overlapping Ports

{% hint style="info" %}
Recommended to enable this option if you are working with many CMA projects
{% endhint %}

Use non-overlapping ports is a feature that will tell CMA when choosing available ports on the system to also ignore ports that are already used by other CMA instances, even if they are stopped.\
That way it will ensure that your projects will not get new ports every time you switch between them.

To enable this feature, set `useNonOverlappingPorts` field in the system configuration file to `true`.

### Analytics

Analytics helps us to collect data about errors or possible slow-downs and helps us to identify areas that should be fixed or improved!

Of course, you have an option to opt out of analytic data collection. To do that set `analytics` field in the system configuration file to  `false` and CMA will not collect analytic data from your system.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.create-magento-app.com/getting-started/config-file/system-configuration-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
