8000 Merge pull request #759 from Dorian-Grim/patch-1 · dotnet-script/dotnet-script@1169314 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1169314

Browse files
authored
Merge pull request #759 from Dorian-Grim/patch-1
Fixes #758 - manual install of dotnet note
2 parents d59da48 + 8f5ab64 commit 1169314

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ Run C# scripts from the .NET CLI, define NuGet packages inline and edit/debug th
2222

2323
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).
2424

25+
[Note](https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#manual-install):
26+
> 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
27+
2528
### .NET Core Global Tool
2629

2730
.NET Core 2.1 introduced the concept of global tools meaning that you can install `dotnet-script` using nothing but the .NET CLI.

0 commit comments

Comments
 (0)
0