winget/README.md
2024-09-08 02:46:57 +00:00

2.1 KiB

HomeHosted winget Scripts

This is a collection of winget scripts that I use for verious reasons. I am a single person and am using this for my systems, if you want to add something submit an issue and if I have time I will add it in.

READ BEFORE USING THIS SCRIPT

  • NOTE: you can use admin or non admin terminal. The difference will be weather you hit yes or no for every software installing. If you do not trust the script choose non admin terminal, if you do trust it use admin terminal (I use admin but I wrote the scripts). Either way please always read every script you choose to install.
  • Every app will install to its default location unless you add flags into the scripts your self.

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. 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. You will need to allow running scripts on your system. Please read the scripts before you run them.

    • Get-ExecutionPolicy
    • Set-ExecutionPolicy RemoteSigned
  4. 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.
      • git clone https://hmg.studio/HomeHosted/winget.git: Clones the repository from the specified URL into the Downloads folder.
      • cd winget: Changes the directory into the newly cloned repository folder named winget.