Description
That's a promising package, but we had troubles installing it: The install script at install.sh fails when executed on WSL (Windows Subsystem for Linux) with the following error:
📦 Downloading AgentPipe v0.7.0...
📦 Installing to /usr/local/bin...
[sudo] password for default:
mv: cannot stat '/tmp/agentpipe': No such file or directory
Root Cause
The script extracts the release tarball with:
tar -xzf /tmp/agentpipe.tar.gz -C /tmp
sudo mv /tmp/agentpipe $INSTALL_DIR/
However, the binary inside the archive is extracted to a subdirectory (e.g., /tmp/agentpipe_linux_amd64/agentpipe or similar architecture-specific path), not directly to /tmp/agentpipe. The subsequent mv command fails because it's looking for a flat path that doesn't exist.
Steps to Reproduce
- Open WSL (Windows Subsystem for Linux)
- Run the install script:
curl -sSL https://raw.githubusercontent.com/kevinelliott/agentpipe/main/install.sh | bash
- Installation fails with the error above
Expected Behavior
Installation should complete successfully and place the agentpipe binary in /usr/local/bin/.
Actual Behavior
Installation fails and the binary is not installed.
Environment
- OS: WSL (Windows Subsystem for Linux)
- Distro: Ubuntu 22.04
- AgentPipe Version: v0.7.0 (latest)
- Go: Available for workaround
Proposed Solution
Update install.sh to handle extraction to subdirectories:
# Extract tarball
tar -xzf /tmp/agentpipe.tar.gz -C /tmp
# Find the binary regardless of subdirectory structure
BINARY_PATH=$(find /tmp -name "agentpipe" -type f -maxdepth 3 | head -1)
if [ -z "$BINARY_PATH" ]; then
echo "❌ AgentPipe binary not found in extracted archive"
exit 1
fi
# Move to install directory
sudo mv "$BINARY_PATH" /usr/local/bin/agentpipe
sudo chmod +x /usr/local/bin/agentpipe
Workaround
Until this is fixed, users can install via Go:
go install github.com/kevinelliott/agentpipe@latest
Or use Homebrew on Linux:
brew tap kevinelliott/tap
brew install agentpipe
Description
That's a promising package, but we had troubles installing it: The install script at
install.shfails when executed on WSL (Windows Subsystem for Linux) with the following error:Root Cause
The script extracts the release tarball with:
tar -xzf /tmp/agentpipe.tar.gz -C /tmp sudo mv /tmp/agentpipe $INSTALL_DIR/However, the binary inside the archive is extracted to a subdirectory (e.g.,
/tmp/agentpipe_linux_amd64/agentpipeor similar architecture-specific path), not directly to/tmp/agentpipe. The subsequentmvcommand fails because it's looking for a flat path that doesn't exist.Steps to Reproduce
curl -sSL https://raw.githubusercontent.com/kevinelliott/agentpipe/main/install.sh | bashExpected Behavior
Installation should complete successfully and place the
agentpipebinary in/usr/local/bin/.Actual Behavior
Installation fails and the binary is not installed.
Environment
Proposed Solution
Update
install.shto handle extraction to subdirectories:Workaround
Until this is fixed, users can install via Go:
Or use Homebrew on Linux: