Skip to content

Conversation

@tobiasrdm
Copy link
Contributor

@tobiasrdm tobiasrdm commented Sep 1, 2025

This feature is useful for installing xq inside pipeline Jobs that do not have sudo permissions.

Example installing to current directory:

curl -sSL https://bit.ly/install-xq | INSTALL_DIR=$(pwd) bash

Example installing to $HOME/.local/bin:

curl -sSL https://bit.ly/install-xq | INSTALL_DIR=$HOME/.local/bin bash

The default behavior remains to install in /usr/local/bin/, which requires sudo.
Example:

curl -sSL https://bit.ly/install-xq | sudo bash

@sibprogrammer sibprogrammer merged commit b8a6455 into sibprogrammer:master Sep 3, 2025
1 check passed
@tobiasrdm tobiasrdm deleted the custom-install-dir branch September 3, 2025 21:41
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.

2 participants