File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,12 @@ https://github.com/darklab8/autogit/assets/20555918/44a05f9b-393f-4f6c-aea5-f473
6666
6767- install curl if not installed.(` apt update && apt install -y curl ` for debian/ubuntu)
6868- install git if not present (` apt update && apt install -y git ` for debian/ubuntu)
69- - install autogit with ` rm $(which autogit) ; curl -L $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/darklab8/autogit/releases/latest | sed "s/releases\/tag/releases\/download/")/autogit-linux-amd64 -o /usr/local/bin/autogit && chmod 777 /usr/local/bin/autogit `
69+ - install autogit with ` sudo rm $(which autogit) ; sudo rm /usr/local/bin/autogit ; sudo curl -L $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/darklab8/autogit/releases/latest | sed "s/releases\/tag/releases\/download/")/autogit-linux-amd64 -o /usr/local/bin/autogit && sudo chmod 777 /usr/local/bin/autogit`
7070- check installation with ` autogit version ` command. Expect to see ` OK autogit version: v{version} `
7171
7272### install specific version
7373
74- - install with ` rm $(which autogit) ; curl -L https://github.com/darklab8/autogit/releases/download/v{VERSION}/autogit-linux-amd64 -o /usr/local/bin/autogit && chmod 777 /usr/local/bin/autogit `
74+ - install with ` sudo rm $(which autogit) ; sudo rm /usr/local/bin/autogit ; sudo curl -L https://github.com/darklab8/autogit/releases/download/v{VERSION}/autogit-linux-amd64 -o /usr/local/bin/autogit && sudo chmod 777 /usr/local/bin/autogit`
7575
7676## Windows
7777
You can’t perform that action at this time.
0 commit comments