---
title: ".NET on macOS"
slug: "prefix-net-on-mac"
description: "Easily install Prefix in minutes. Download and set up Prefix on your workstation. Apply environment variables for correct .NET profiler usage."
updated: 2021-02-08T20:40:41Z
published: 2021-02-08T20:40:41Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# .NET on macOS

## Installing Prefix

Prefix uses a simple installer and takes just a couple minutes to install.

Check out the [Getting Started](https://docs.stackify.com/v1/docs/prefix-getting-started) Prefix page to download and install Prefix on your workstation.

After the installation of Prefix is completed, the following will take place:

- A Prefix Application is created in the Application directory
- A `com.stackify.prefix.plist` file containing Environment Variables will be created in `~/Library/LaunchAgents/`
- The .NET profiler will be installed

## Applying the Environment Variables

The .NET profiler requires environment variables to be set in order for Prefix to run correctly.

- **Add the variables to the user's shell profile**

```
export CORECLR_ENABLE_PROFILING=1
export CORECLR_PROFILER={cf0d821e-299b-5307-a3d8-b283c03916da}
export CORECLR_PROFILER_PATH_64=/usr/local/prefix/profiler/dotnet/StackifyProfiler.dylib
```

          Note:

          

These export variables can be added in your active terminal where your app is running.

#### .NET Core

          .NET Core:

          

Prefix only supports 2.1 and later with primary testing on LTS releases (2.1 and 3.1)

All you need to do is create a `Stackify.json` file that contains your app name as shown below.

#### Naming your Application

Create a file named `Stackify.json` and save it in the deployment folder of your application.

```
{
    "AppName": "MyApp"
}
```

This app name setting will be used to display your different apps when viewing requests and traces in Prefix.
