Skip to content

Commit

Permalink
dotnet install: Add arch options (#36345)
Browse files Browse the repository at this point in the history
* dotnet install: Add arch options
* Per review changed to CLI RID description
  • Loading branch information
wadepickett authored Jul 21, 2023
1 parent 127aa60 commit 089042f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/core/tools/dotnet-tool-install.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: dotnet tool install command
description: The dotnet tool install command installs the specified .NET tool on your machine.
ms.date: 05/16/2023
ms.date: 07/19/2023
---
# dotnet tool install

Expand All @@ -15,20 +15,23 @@ ms.date: 05/16/2023

```dotnetcli
dotnet tool install <PACKAGE_NAME> -g|--global
[-a|--arch <ARCHITECTURE>]
[--add-source <SOURCE>] [--configfile <FILE>] [--disable-parallel]
[--framework <FRAMEWORK>] [--ignore-failed-sources] [--interactive]
[--no-cache] [--prerelease]
[--tool-manifest <PATH>] [-v|--verbosity <LEVEL>]
[--version <VERSION_NUMBER>]
dotnet tool install <PACKAGE_NAME> --tool-path <PATH>
[-a|--arch <ARCHITECTURE>]
[--add-source <SOURCE>] [--configfile <FILE>] [--disable-parallel]
[--framework <FRAMEWORK>] [--ignore-failed-sources] [--interactive]
[--no-cache] [--prerelease]
[--tool-manifest <PATH>] [-v|--verbosity <LEVEL>]
[--version <VERSION_NUMBER>]
dotnet tool install <PACKAGE_NAME> [--local]
[-a|--arch <ARCHITECTURE>]
[--add-source <SOURCE>] [--configfile <FILE>]
[--create-manifest-if-needed] [--disable-parallel]
[--framework <FRAMEWORK>] [--ignore-failed-sources] [--interactive]
Expand Down Expand Up @@ -84,6 +87,10 @@ For more information, see [Install a local tool](global-tools.md#install-a-local

## Options

- **`-a|--arch <ARCHITECTURE>`**

Specifies the target architecture. This is a shorthand syntax for setting the [Runtime Identifier (RID)](../../../docs/core/rid-catalog.md), where the provided value is combined with the default RID. For example, on a `win-x64` machine, specifying `--arch x86` sets the RID to `win-x86`.

[!INCLUDE [add-source](../../../includes/cli-add-source.md)]

[!INCLUDE [configfile](../../../includes/cli-configfile.md)]
Expand Down

0 comments on commit 089042f

Please sign in to comment.