Skip to content

Commit 0799ce1

Browse files
committed
Updated readme
1 parent 418d3ff commit 0799ce1

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,18 +154,20 @@ InstallerPedia Manager (ipm) is a CLI tool that installs from repositories using
154154

155155
It currently supports
156156

157-
`ipm install reponame` - launches the installation process for installing from repo
157+
`ipm install reponame` - Launches the installation process for installing from the repository.
158158

159-
`ipm show reponame` - show details about a repo and its installation
159+
`ipm show reponame` - Shows details about a repository and its installation.
160160

161-
`ipm search reponame` - Search for a specific repo
161+
`ipm search reponame` - Search for a specific repository.
162162

163163
You can install `ipm` via this command
164164

165165
```
166166
curl -fsSL https://raw.githubusercontent.com/HexmosTech/freeDevTools/main/install_ipm.sh | bash
167167
```
168168

169+
To get the latest updates, run `ipm update`.
170+
169171
## Related Projects
170172

171173
**[LiveReview](https://hexmos.com/livereview)** - I'm building a private AI code review tool that runs on your LLM key (OpenAI, Gemini, etc.) with flat, no-seat pricing — designed for small teams. Check it out, if that's your kind of thing.

install_ipm.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
#!/usr/bin/env bash
22
set -e
33

4-
# Installer for ipm CLI
54
APPNAME="ipm"
6-
VERSION="v0.1.0"
75
INSTALL_DIR="$HOME/.local/share/$APPNAME"
86
BIN_PATH="/usr/local/bin/$APPNAME"
97

10-
# GitHub release URL
11-
DOWNLOAD_URL="https://github.com/HexmosTech/freeDevTools/releases/download/$VERSION/ipm"
8+
# Get latest version (info only)
9+
LATEST_VERSION=$(curl -s https://api.github.com/repos/HexmosTech/freeDevTools/releases/latest \
10+
| grep '"tag_name":' \
11+
| sed -E 's/.*"tag_name": "([^"]+)".*/\1/')
1212

13-
echo "==> Installing $APPNAME ($VERSION) to $INSTALL_DIR ..."
13+
echo "==> Latest version available: $LATEST_VERSION"
1414

15-
# Create install directory
15+
# Always download the latest asset
16+
DOWNLOAD_URL="https://github.com/HexmosTech/freeDevTools/releases/latest/download/ipm"
17+
18+
echo "==> Installing $APPNAME (latest) to $INSTALL_DIR ..."
1619
mkdir -p "$INSTALL_DIR"
1720

18-
# Download binary
19-
echo "==> Downloading $APPNAME from $DOWNLOAD_URL ..."
21+
echo "==> Downloading from $DOWNLOAD_URL ..."
2022
curl -L "$DOWNLOAD_URL" -o "$INSTALL_DIR/$APPNAME"
2123

22-
# Make executable
2324
chmod +x "$INSTALL_DIR/$APPNAME"
2425

25-
# Create global symlink
2626
echo "==> Creating symlink at $BIN_PATH ..."
2727
sudo ln -sf "$INSTALL_DIR/$APPNAME" "$BIN_PATH"
2828

2929
echo "==> Installation complete!"
30-
echo "Run it from anywhere using: $APPNAME"
30+
echo "Run it using: $APPNAME"

0 commit comments

Comments
 (0)