Add curl-based install script for one-liner installation#53
Merged
Conversation
Adds install.sh for one-liner installation: curl -fsSL https://gtasks.sidv.dev/install | bash - Detects OS (macOS, Linux, Windows/MSYS) and arch (amd64, arm64) - Resolves latest release from GitHub API - Downloads correct archive, extracts, installs to /usr/local/bin (sudo if needed) - Prompts to install AI agent skill after binary install - Matches asset naming convention: gtasks_<os>_<arch>_<version>.tar.gz Closes #44 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Windows users should download the binary directly from GitHub releases. Updated error message points them there. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Deploying gtasks with
|
| Latest commit: |
cb0103b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://359fedef.gtasks.pages.dev |
| Branch Preview URL: | https://feat-install-script.gtasks.pages.dev |
No sudo needed. XDG standard, on PATH by default on modern Linux. Also creates the dir if it doesn't exist. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add warn() helper; use it for skill install failure instead of swallowing silently - Add semver format validation on resolved version tag - Add chmod +x after install (don't assume tar preserves permissions) - Fix /dev/tty noise when running non-interactively (curl | bash) - Change skill prompt to [y/N] (default no) to match non-interactive fallback - Make PATH warning actionable with exact export command Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
install.sh— a bash install script for one-liner installation~/.local/bin(usessudoif needed, creates dir if missing)Usage
curl -fsSL https://gtasks.sidv.dev/install | bashCustom install dir:
INSTALL_DIR=/usr/local/bin curl -fsSL https://gtasks.sidv.dev/install | bashTest plan
gtasks_mac_arm64_<version>.tar.gz, installs, binary runsINSTALL_DIRoverride works — installs to custom pathcurl | bash) runs cleanly with no/dev/ttynoise;yinstalls, anything else skipsCloses #44
🤖 Generated with Claude Code