feat: add universal installation scripts for all platforms - #3
Closed
timimsms wants to merge 1 commit into
Closed
Conversation
- Add install.sh for Unix systems (macOS/Linux) with automatic platform detection - Add install.ps1 for Windows with PowerShell installation - Create installation webpage at docs/install/index.html for easy access - Update README with quick install commands - Add test script to validate installation scripts Features: - Automatic platform and architecture detection - Version selection support (--version flag) - Custom installation directory (--dir flag) - Checksum verification for security - PATH configuration assistance - Progress indicators and clear error messages - Fallback support for curl/wget on Unix - Support for both admin and non-admin Windows installations The scripts provide a one-line installation method: - Unix: curl -sSL .../install.sh | bash - Windows: irm .../install.ps1 | iex 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Owner
Author
|
Deprioritized. Homebrew and direct GitHub Release downloads (PR #17) cover the primary installation paths. Universal install scripts can be revisited if needed. |
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
What's Included
Installation Scripts
scripts/install.sh: Unix installer (macOS/Linux)scripts/install.ps1: Windows PowerShell installerInstallation Webpage
docs/install/index.html: User-friendly installation guideFeatures
Both scripts support:
--version v1.0.0)Usage
Quick Install Commands
Unix (macOS/Linux):
curl -sSL https://raw.githubusercontent.com/timimsms/cu/main/scripts/install.sh | bashWindows (PowerShell):
Installation Options
Testing
A test script is included to validate the installation scripts:
GitHub Pages Setup Required
After merging, you'll need to enable GitHub Pages:
The installation guide will be available at: https://timimsms.github.io/cu/install/
Security Considerations
Next Steps
This completes the installation scripts feature. After merging:
🤖 Generated with Claude Code