From bfc00082660c364e817c3b4cd6a22aae018cc83c Mon Sep 17 00:00:00 2001 From: Lukas Fritze <12097997+LukasFritzeDev@users.noreply.github.com> Date: Mon, 24 Jun 2019 18:40:28 +0200 Subject: [PATCH] Doc: Add installation instructions for direct download Adds easier installation instructions as an alternative for installation with Git. Proposed in #355 --- INSTALL.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index a468cfa..56dbef4 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -37,6 +37,24 @@ git checkout "$(git tag | grep '^[0-9]*\.[0-9]*\.[0-9]*$' | tail -1)" sudo make install ``` +## Linux/Unix based systems using direct download + +Another way is to download the shell script directly and place it in your `bin` +directory: + +```sh +curl https://raw.githubusercontent.com/git-ftp/git-ftp/master/git-ftp > /bin/git-ftp +chmod 755 /bin/git-ftp +``` + +Maybe `sudo` is required to do this. +Please note that this will install the most recent version, even if its +unreleased. To install a specific version replace `master` with the version tag. + +Uninstall: +```sh +rm /bin/git-ftp +``` ## Debian, Ubuntu and others using apt