Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add installation script for Clipper #10

Merged
merged 1 commit into from
Jun 5, 2024
Merged

feat: add installation script for Clipper #10

merged 1 commit into from
Jun 5, 2024

Conversation

supitsdu
Copy link
Owner

@supitsdu supitsdu commented Jun 5, 2024

This commit adds a shell script to easily install Clipper on Linux and macOS systems. The script determines the OS and architecture, downloads the appropriate binary from the GitHub releases, makes it executable, and installs it to /usr/local/bin. It also verifies the installation and provides informative logging messages throughout the process.

  • Supports installation on Linux (x86_64, arm64) and macOS (x86_64, arm64).
  • Uses mktemp to create a temporary directory for downloading the binary.
  • Ensures the /usr/local/bin directory is available and in the user's PATH before installation.
  • Provides clear error messages and feedback during each step of the installation process.

This commit adds a shell script to easily install Clipper on Linux and macOS systems. The script determines the OS and architecture, downloads the appropriate binary from the GitHub releases, makes it executable, and installs it to /usr/local/bin. It also verifies the installation and provides informative logging messages throughout the process.

- Supports installation on Linux (x86_64, arm64) and macOS (x86_64, arm64).
- Uses mktemp to create a temporary directory for downloading the binary.
- Ensures the /usr/local/bin directory is available and in the user's PATH before installation.
- Provides clear error messages and feedback during each step of the installation process.
@supitsdu supitsdu added the enhancement New feature requests or enhancements. label Jun 5, 2024
@supitsdu supitsdu merged commit ea10862 into main Jun 5, 2024
1 check passed
@supitsdu supitsdu deleted the feature branch June 5, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature requests or enhancements.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant