Skip to content

feat: add installation script for Clipper#10

Merged
supitsdu merged 1 commit intomainfrom
feature
Jun 5, 2024
Merged

feat: add installation script for Clipper#10
supitsdu merged 1 commit intomainfrom
feature

Conversation

@supitsdu
Copy link
Copy Markdown
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
@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