-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.json
1 lines (1 loc) · 8.22 KB
/
search.json
1
[{"title":"Git for Windows Silent Install","url":"/2023/09/16/Git-for-Windows-Silent-Install-How-To-Guide/","content":"\nGit is a distributed version-control system for tracking changes in source code during software development. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Git from the command line using the EXE installer.\n\n## How to Install Git Silently\n\n### Git for Windows Silent Install 32-bit (EXE)\n\n1. **Navigate** to: https://github.com/git-for-windows/git/releases\n2. **Select** the version of your choice\n3. **Download** the **Git-x.y.z-32-bit.exe** to a folder created at **(C:\\Downloads)**\n4. Open an **Elevated Command Prompt** by Right-Clicking on Command Prompt and select **Run as Administrator**\n5. **Navigate** to the **C:\\Downloads** folder\n6. Enter the following command: **Git-x.y.z-32-bit.exe /VERYSILENT /NORESTART**\n7. Press **Enter**\n\nAfter a minute or so you should see the Git shortcuts in the **Start Menu, Installation Directory**, and **Programs and Features** in the Control Panel.\n\n| Software Title: | Git (32-bit) |\n| :-------------------------------------- | :----------------------------------------------------------------------------------------------- |\n| Vendor: | The Git Development Community |\n| Architecture: | x86 |\n| Installer Type: | EXE |\n| Silent Install Switch: | **Git-x.y.z-32-bit.exe /VERYSILENT /NORESTART** |\n| Silent Uninstall Switch (32-bit System) | **\"%ProgramFiles%\\Git\\unins000.exe\" /VERYSILENT /NORESTART** |\n| Silent Uninstall Switch (64-bit System) | **\"%ProgramFiles(x86)%\\Git\\unins000.exe\" /VERYSILENT /NORESTART** |\n| Download Link: | https://github.com/git-for-windows/git/releases |\n| **PowerShell Script:** | **https://silentinstallhq.com/git-for-windows-install-and-uninstall-powershell/** |\n| **Detection Script:** | **https://silentinstallhq.com/create-a-custom-detection-script-for-git-for-windows-powershell/** |\n\n---\n\n---\n\n### Git for Windows Silent Install 64-bit (EXE)\n\n1. **Navigate** to: https://github.com/git-for-windows/git/releases\n2. **Select** the version of your choice\n3. **Download** the **Git-x.y.z-64-bit.exe** to a folder created at **(C:\\Downloads)**\n4. Open an **Elevated Command Prompt** by Right-Clicking on Command Prompt and select **Run as Administrator**\n5. **Navigate** to the **C:\\Downloads** folder\n6. Enter the following command: **Git-x.y.z-64-bit.exe /VERYSILENT /NORESTART**\n7. Press **Enter**\n\nAfter a minute or so you should see the Git shortcuts in the **Start Menu, Installation Directory**, and **Programs and Features** in the Control Panel.\n\n| Software Title: | Git (64-bit) |\n| :-------------------------------------- | :----------------------------------------------------------------------------------------------- |\n| Vendor: | The Git Development Community |\n| Architecture: | x64 |\n| Installer Type: | EXE |\n| Silent Install Switch: | **Git-x.y.z-64-bit.exe /VERYSILENT /NORESTART** |\n| Silent Uninstall Switch: | **\"%ProgramFiles%\\Git\\unins000.exe\" /VERYSILENT /NORESTART** |\n| Download Link: | https://github.com/git-for-windows/git/releases |\n| **PowerShell Script:** | **https://silentinstallhq.com/git-for-windows-install-and-uninstall-powershell/** |\n| **Detection Script:** | **https://silentinstallhq.com/create-a-custom-detection-script-for-git-for-windows-powershell/** |\n\nThe information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.\n\n---\n\n---\n\n## Additional Configurations\n\n### Create a Git Installation Log File\n\nThe Git installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.\n\n#### Git 32-bit Silent Install (EXE) with Logging\n\n> **Git-x.y.z-32-bit.exe /VERYSILENT /NORESTART /LOG=\"%WINDIR%\\Temp\\Git32-Install.log\"**\n\n#### Git 64-bit Silent Install (EXE) with Logging\n\n> **Git-x.y.z-64-bit.exe /VERYSILENT /NORESTART /LOG=\"%WINDIR%\\Temp\\Git64-Install.log\"**\n\n---\n\n---\n\n### Enable Git Auto Updates\n\nThe Git installer does NOT enable auto updates by default. If you want auto updates enabled, you can run the following command line switch.\n\n#### Git 32-bit Silent Install (EXE) with Auto Updates Enabled\n\n> **Git-x.y.z-32-bit.exe /VERYSILENT /NORESTART /COMPONENTS=ext,ext\\shellhere,ext\\guihere,gitlfs,assoc,assoc_sh,autoupdate**\n\n#### Git 64-bit Silent Install (EXE) with Auto Updates Enabled\n\n> **Git-x.y.z-64-bit.exe /VERYSILENT /NORESTART /COMPONENTS=ext,ext\\shellhere,ext\\guihere,gitlfs,assoc,assoc_sh,autoupdate**\n\n---\n\n---\n\n### Include the Git Desktop Shortcut During Install\n\nThe Git installer does NOT include a desktop shortcut by default. If you want the desktop shortcut included during installation, then you can run the following command line switch.\n\n#### Git 32-bit Silent Install (EXE) with Desktop Shortcut\n\n> **Git-x.y.z-32-bit.exe /VERYSILENT /NORESTART /COMPONENTS=icons,icons\\desktop,ext,ext\\shellhere,ext\\guihere,gitlfs,assoc,assoc_sh**\n\n#### Git 64-bit Silent Install (EXE) with Desktop Shortcut\n\n> **Git-x.y.z-64-bit.exe /VERYSILENT /NORESTART /COMPONENTS=icons,icons\\desktop,ext,ext\\shellhere,ext\\guihere,gitlfs,assoc,assoc_sh**\n\n---\n\n---\n\n### Change the Git Default Installation Directory\n\nYou can also change the default installation directory by using the following command line parameters. In this example, I’m installing GIMP to **“C:\\Git”**\n\n#### Git 32-bit (EXE)\n\n> **Git-x.y.z-32-bit.exe /DIR=\"C:\\Git\" /VERYSILENT /NORESTART**\n\n#### Git 64-bit (EXE)\n\n> **Git-x.y.z-64-bit.exe /DIR=\"C:\\Git\" /VERYSILENT /NORESTART**\n\n---\n\n---\n\n### How to Uninstall Git for Windows Silently\n\n*Check out the following posts for a scripted solution:*\n\n> **[Git for Windows Install and Uninstall (PowerShell)](https://silentinstallhq.com/git-for-windows-install-and-uninstall-powershell/)**<br/> **[Git for Windows Silent Uninstall (PowerShell)](https://silentinstallhq.com/git-for-windows-silent-uninstall-powershell/)**\n\n1. Open an **Elevated Command Prompt** by Right-Clicking on Command Prompt and select **Run as Administrator**\n2. Enter one of the following commands:\n\n#### Git 32-bit Silent Uninstall (EXE) on 32-bit System\n\n> **\"%ProgramFiles%\\Git\\unins000.exe\" /VERYSILENT /NORESTART**\n\n#### Git 32-bit Silent Uninstall (EXE) on 64-bit System\n\n> **\"%ProgramFiles(x86)%\\Git\\unins000.exe\" /VERYSILENT /NORESTART**\n\n#### Git 64-bit Silent Uninstall (EXE) on 64-bit System\n\n> **\"%ProgramFiles%\\Git\\unins000.exe\" /VERYSILENT /NORESTART**\n\nAlways make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.\n"}]