From 8f5ab6409a7e9fd2c91a29f8738881408f8c31b0 Mon Sep 17 00:00:00 2001 From: Dorian Date: Thu, 1 Aug 2024 10:03:12 +0300 Subject: [PATCH] Fixes #758 - manual install of dotnet note --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 87a31cb9..c5bbc109 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,9 @@ Run C# scripts from the .NET CLI, define NuGet packages inline and edit/debug th The only thing we need to install is [.NET 6.0, .NET 7.0 or .NET 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet). +[Note](https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#manual-install): +> If you install the .NET SDK to a non-default location, you need to set the environment variable `DOTNET_ROOT` to the directory that contains the dotnet executable + ### .NET Core Global Tool .NET Core 2.1 introduced the concept of global tools meaning that you can install `dotnet-script` using nothing but the .NET CLI.