---
title: Newman configuration
description: Configuration properties for Allure Newman | Change allure-results directory
---

# Allure Newman configuration

The [Allure Newman](/docs/newman/) integration behavior can be affected by some configuration options.

To pass an option, you can just add it to the command when running Newman.

The example below assumes that the tests are [public](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/manage-workspaces/#change-workspace-visibility). (Alternatively, [use the Postman API](https://github.com/postmanlabs/newman?tab=readme-ov-file#using-newman-with-the-postman-api) to run them.)

**npm:**
```bash
npx newman run https://www.postman.com/collections/8854915-454a2dc7-dcbe-41cf-9bfa-da544fcd93a2 \
  --reporters cli,allure \
  --reporter-allure-resultsDir output/allure-results
```

**yarn:**
```bash
yarn run newman run https://www.postman.com/collections/8854915-454a2dc7-dcbe-41cf-9bfa-da544fcd93a2 \
  --reporters cli,allure \
  --reporter-allure-resultsDir allure-results
```

**pnpm:**
```bash
pnpx newman run https://www.postman.com/collections/8854915-454a2dc7-dcbe-41cf-9bfa-da544fcd93a2 \
  --reporters cli,allure \
  --reporter-allure-resultsDir allure-results
```

## --reporter-allure-resultsDir ⟨DIRECTORY⟩

Path to the directory where Allure Newman will save the test results, see [How it works](/docs/how-it-works/). If the directory does not exist, it will be created. Defaults to `allure-results`.
