Skip to content

Add install scripts for Linux, macOS, and Windows#3

Merged
fluo10 merged 1 commit intomainfrom
feat/install-scripts
Mar 11, 2026
Merged

Add install scripts for Linux, macOS, and Windows#3
fluo10 merged 1 commit intomainfrom
feat/install-scripts

Conversation

@fluo10
Copy link
Owner

@fluo10 fluo10 commented Mar 11, 2026

Summary

  • Add install.sh: detects OS and architecture, downloads the matching binary from the latest GitHub Release, and installs it to ~/.local/bin. Prints a PATH hint if the directory is not in $PATH.
  • Add install.ps1: downloads the Windows binary from the latest GitHub Release and installs it to %USERPROFILE%\.local\bin. Adds the directory to the user PATH if not already present.

Usage

Unix (Linux / macOS):

curl -fsSL https://raw.githubusercontent.com/fluo10/tryluck/main/install.sh | sh

Windows (PowerShell):

irm https://raw.githubusercontent.com/fluo10/tryluck/main/install.ps1 | iex

Test plan

  • Run install.sh on Linux x86_64 and confirm ~/.local/bin/tryluck is installed
  • Run install.sh on Linux aarch64 and macOS and confirm correct binary is downloaded
  • Run install.ps1 on Windows and confirm tryluck.exe is installed and PATH is updated

🤖 Generated with Claude Code

Downloads the latest binary from GitHub Releases and installs it to
~/.local/bin (Unix) or %USERPROFILE%\.local\bin (Windows).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@fluo10 fluo10 merged commit 143453b into main Mar 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant