From 6df41de4f66676ffc37916e7cae8dfd6d6afac11 Mon Sep 17 00:00:00 2001 From: Lessley Dennington Date: Tue, 1 Mar 2022 15:30:20 -0800 Subject: [PATCH] Add install from source instructions Update README.md with instructions for downloading and running the install from source script. --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index dc193e01b6..c6c0fee9cd 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,32 @@ sudo /usr/local/share/gcm-core/uninstall.sh ### Linux +#### Experimental: install from source helper script + +If you would like to help dogfood our new install from source helper script, +run the following: + +1. To ensure `curl` is installed: + +```shell +curl --version +``` + +If `curl` is not installed, please use your distribution's package manager +to install it. + +0. To download and run the script: + +```shell +curl -o install-from-source.sh -L https://raw.githubusercontent.com/GitCredentialManager/git-credential-manager/main/src/linux/Packaging.Linux/install-from-source.sh && +sh ./install-from-source.sh +git-credential-manager-core configure +``` + +__Note:__ You will be prompted to enter your credentials so that the script +can download GCM's dependencies using your distribution's package +manager. + #### Ubuntu/Debian distributions Download the latest [.deb package](https://github.com/GitCredentialManager/git-credential-manager/releases/latest), and run the following: