From 2412ee4f1e9b5060ecbff7256c7f8894f23c7abd Mon Sep 17 00:00:00 2001 From: Muhammad Danish Date: Sun, 30 Jul 2023 22:36:24 +0500 Subject: [PATCH] Add aliases for WinGet Commands --- hub/package-manager/winget/configure.md | 6 ++++++ hub/package-manager/winget/install.md | 6 ++++++ hub/package-manager/winget/list.md | 6 ++++++ hub/package-manager/winget/search.md | 6 ++++++ hub/package-manager/winget/settings.md | 6 ++++++ hub/package-manager/winget/show.md | 6 ++++++ hub/package-manager/winget/source.md | 18 ++++++++++++++++++ hub/package-manager/winget/uninstall.md | 7 +++++++ hub/package-manager/winget/upgrade.md | 6 ++++++ 9 files changed, 67 insertions(+) diff --git a/hub/package-manager/winget/configure.md b/hub/package-manager/winget/configure.md index 69ae05e6dd..f0f6584e7c 100644 --- a/hub/package-manager/winget/configure.md +++ b/hub/package-manager/winget/configure.md @@ -21,6 +21,12 @@ The **configure** command of the [winget](./index.md) tool uses a [WinGet Config - Windows 10 RS5 or later, and Windows 11. - Winget version v1.5.1572 or later. +## Aliases + +The following aliases are available for this command: + +- configuration + ## Usage `winget configure -f /winget-configs/config-file-name.dsc.yaml>` diff --git a/hub/package-manager/winget/install.md b/hub/package-manager/winget/install.md index d16196b004..3be2c2c2e5 100644 --- a/hub/package-manager/winget/install.md +++ b/hub/package-manager/winget/install.md @@ -18,6 +18,12 @@ The **install** command requires that you specify the exact string to install. I ![search command](./images/install.png) +## Aliases + +The following aliases are available for this command: + +- add + ## Arguments The following arguments are available. diff --git a/hub/package-manager/winget/list.md b/hub/package-manager/winget/list.md index 523cb4c048..3ed66929ee 100644 --- a/hub/package-manager/winget/list.md +++ b/hub/package-manager/winget/list.md @@ -14,6 +14,12 @@ The **list** command will also display if an update is available for an app, and The **list** command also supports filters which can be used to limit your list query. +## Aliases + +The following aliases are available for this command: + +- ls + ## Usage `winget list [[-q] \] [\]` diff --git a/hub/package-manager/winget/search.md b/hub/package-manager/winget/search.md index ea18bdebb2..f63c681e9d 100644 --- a/hub/package-manager/winget/search.md +++ b/hub/package-manager/winget/search.md @@ -20,6 +20,12 @@ The **search** command includes parameters for filtering down the applications r ![Screenshot of the Windows Power Shell window displaying the results of the winget search.](./images/search.png) +## Aliases + +The following aliases are available for this command: + +- find + ## Arguments The following arguments are available. diff --git a/hub/package-manager/winget/settings.md b/hub/package-manager/winget/settings.md index 3081e59110..a7af61a1cf 100644 --- a/hub/package-manager/winget/settings.md +++ b/hub/package-manager/winget/settings.md @@ -15,6 +15,12 @@ The **settings** command will launch your default text editor. Windows by defaul >[!NOTE] >You can easily install Visual Studio Code by typing `winget install Microsoft.VisualStudioCode` +## Aliases + +The following aliases are available for this command: + +- config + ## Use the winget settings command Launch your default JSON editing tool: `winget settings` diff --git a/hub/package-manager/winget/show.md b/hub/package-manager/winget/show.md index fc307fd1a6..99ff0b9886 100644 --- a/hub/package-manager/winget/show.md +++ b/hub/package-manager/winget/show.md @@ -12,6 +12,12 @@ The **show** command of the [winget](index.md) tool displays details for the spe The **show** command only shows metadata that was submitted with the application. If the submitted application excludes some metadata, then the data will not be displayed. +## Aliases + +The following aliases are available for this command: + +- view + ## Usage `winget show [[-q] \] [\]` diff --git a/hub/package-manager/winget/source.md b/hub/package-manager/winget/source.md index 1300648c76..6296123646 100644 --- a/hub/package-manager/winget/source.md +++ b/hub/package-manager/winget/source.md @@ -114,6 +114,12 @@ Usage: winget source list [[-n, --name] ] ``` +#### Aliases + +The following aliases are available for this subcommand: + +- ls + #### Arguments The following arguments are available. @@ -178,6 +184,12 @@ Usage: winget source update [[-n, --name] ] ``` +#### Aliases + +The following aliases are available for this subcommand: + +- refresh + #### Arguments The following arguments are available. @@ -216,6 +228,12 @@ Usage: winget source remove [-n, --name] ``` +#### Aliases + +The following aliases are available for this subcommand: + +- rm + #### Arguments The following arguments are available. diff --git a/hub/package-manager/winget/uninstall.md b/hub/package-manager/winget/uninstall.md index aedf40d9f4..8a123c9f6b 100644 --- a/hub/package-manager/winget/uninstall.md +++ b/hub/package-manager/winget/uninstall.md @@ -12,6 +12,13 @@ The **uninstall** command of the [winget](index.md) tool uninstalls the specifie The **uninstall** command requires that you specify the exact string to uninstall. If there is any ambiguity, you will be prompted to further filter the **uninstall** command to an exact application. +## Aliases + +The following aliases are available for this command: + +- remove +- rm + ## Usage `winget uninstall [[-q] \] [\]` diff --git a/hub/package-manager/winget/upgrade.md b/hub/package-manager/winget/upgrade.md index d57bdf912c..4b7e257365 100644 --- a/hub/package-manager/winget/upgrade.md +++ b/hub/package-manager/winget/upgrade.md @@ -12,6 +12,12 @@ The **upgrade** command of the [winget](index.md) tool upgrades the specified ap The **upgrade** command requires that you specify the exact string to upgrade. If there is any ambiguity, you will be prompted to further filter the **upgrade** command to an exact application. +## Aliases + +The following aliases are available for this command: + +- update + ## Usage `winget upgrade [[-q] \] [\]`