Skip to content

Commit

Permalink
docs: Update install instructions to rename binary before moving
Browse files Browse the repository at this point in the history
The install instructions in the README were updated to first rename the downloaded binary to `aicommit` before moving it to `/usr/local/bin/`. This makes the instructions more consistent and easier to follow.
  • Loading branch information
suenot committed Feb 1, 2025
1 parent 07c754a commit 1591577
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,26 @@ Available builds:
# 1. Download and extract (replace VERSION and ARCH with appropriate values)
# wget https://github.com/suenot/aicommit/releases/download/vVERSION/aicommit-<ARCH>
# chmod +x aicommit-<ARCH>
# sudo mv aicommit-<ARCH> /usr/local/bin/
# mv aicommit-<ARCH> aicommit
# sudo mv aicommit /usr/local/bin/

# Example for Linux x86_64:
wget https://github.com/suenot/aicommit/releases/download/v0.1.72/aicommit-linux-x86_64
chmod +x aicommit-linux-x86_64
sudo mv aicommit-linux-x86_64 /usr/local/bin/
mv aicommit-linux-x86_64 aicommit
chmod +x aicommit
sudo mv aicommit /usr/local/bin/

# Example for macOS ARM64:
wget https://github.com/suenot/aicommit/releases/download/v0.1.72/aicommit-macos-aarch64
chmod +x aicommit-macos-aarch64
sudo mv aicommit-macos-aarch64 /usr/local/bin/
mv aicommit-macos-aarch64 aicommit
chmod +x aicommit
sudo mv aicommit /usr/local/bin/

# Example for macOS x86_64:
wget https://github.com/suenot/aicommit/releases/download/v0.1.72/aicommit-macos-x86_64
chmod +x aicommit-macos-x86_64
sudo mv aicommit-macos-x86_64 /usr/local/bin/
mv aicommit-macos-x86_64 aicommit
chmod +x aicommit
sudo mv aicommit /usr/local/bin/


# 2. Make it executable
Expand Down

0 comments on commit 1591577

Please sign in to comment.