> For the complete documentation index, see [llms.txt](https://docs.create-magento-app.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.create-magento-app.com/getting-started/config-file/system-configuration-file.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
