---
title: ".NET on Linux"
slug: "prefix-net-on-linux"
description: "Install Prefix quickly using the installer. Set environment variables for .NET profiler. For .NET Core, create Stackify.json with the app name."
updated: 2021-09-13T21:05:09Z
published: 2021-09-13T21:05:09Z
---

> ## 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 Linux

## 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.

## 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_PROFILER={cf0d821e-299b-5307-a3d8-b283c03916da}
export CORECLR_ENABLE_PROFILING=1
export CORECLR_PROFILER_PATH="/usr/local/stackify/stackify-dotnet-apm/StackifyProfiler.so"
```

          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.
