Skip to content

Commit

Permalink
Add links to the install script docs (#36141)
Browse files Browse the repository at this point in the history
* Update dotnet-install-script.md

* Apply suggestions from code review
  • Loading branch information
adegeo authored Jul 10, 2023
1 parent 07d9654 commit 24568e0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/core/tools/dotnet-install-script.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: dotnet-install scripts
description: Learn about the dotnet-install scripts to install the .NET SDK and the shared runtime.
ms.date: 11/08/2021
ms.date: 07/10/2023
---
# dotnet-install scripts reference

Expand Down Expand Up @@ -45,8 +45,8 @@ The bash script also reads PowerShell switches, so you can use PowerShell switch

The `dotnet-install` scripts perform a non-admin installation of the .NET SDK, which includes the .NET CLI and the shared runtime. There are two scripts:

* A PowerShell script that works on Windows.
* A bash script that works on Linux/macOS.
* A PowerShell script that works on Windows. For installation instructions, see [Install on Windows](../install/windows.md#install-with-powershell-automation).
* A bash script that works on Linux/macOS. For installation instructions, see [Install on Linux](../install/linux-scripted-manual.md#scripted-install) and [Install on macOS](../install/macos.md#install-with-bash-automation).

> [!NOTE]
> .NET collects telemetry data. To learn more and how to opt out, see [.NET SDK telemetry](telemetry.md).
Expand Down Expand Up @@ -80,6 +80,9 @@ By default, the installation scripts download the SDK and install it. If you wis

By default, the script adds the install location to the $PATH for the current session. Override this default behavior by specifying the `-NoPath|--no-path` argument. The script doesn't set the `DOTNET_ROOT` environment variable.

> [!IMPORTANT]
> The script doesn't add the install location to the user's `PATH` environment variable, you must manually add it.
Before running the script, install the required [dependencies](../install/windows.md#dependencies).

You can install a specific version using the `-Version|--version` argument. The version must be specified as a three-part version number, such as `2.1.0`. If the version isn't specified, the script installs the `latest` version.
Expand Down

0 comments on commit 24568e0

Please sign in to comment.