From a88d6d8a17d0548d7962a688fab4891fa1f7eb9d Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 8 Sep 2024 02:33:14 +0000 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a5878a..31df08f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,15 @@ ## How to use this repo. 1. Download this repo by holding the `Win + X` key at the same time on your keyboard and clicking `Terminal`. -2. Paste this: `cd "$env:USERPROFILE\Downloads" ; git clone https://hmg.studio/HomeHosted/winget.git ; cd winget` +2. Install git with this command `winget install --id Git.Git -e --source winget` + - **`winget install`**: The base command to install a package using Winget. + - **`--id Git.Git`**: Specifies the unique identifier for the package you want to install. `Git.Git` is the identifier for the Git software. + - **`-e`**: Stands for `--exact`. This flag ensures an exact match for the package ID specified, avoiding ambiguity if there are multiple packages with similar names. + - **`--source winget`**: Specifies the source repository from which to install the package. `winget` is the default source (the official Windows Package Manager repository). + + + +3. Paste this: `cd "$env:USERPROFILE\Downloads" ; git clone https://hmg.studio/HomeHosted/winget.git ; cd winget` - **Explanation:** - `cd "$env:USERPROFILE\Downloads"`: Changes the current directory to the user's Downloads folder.