Update README.md

This commit is contained in:
Ryan 2024-09-08 02:33:14 +00:00
parent 355769163e
commit a88d6d8a17

View File

@ -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.