Created
August 15, 2024 16:48
-
-
Save dserodio/8d3ccefcc69b649c130d9554ebdcdd44 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
if type "pkgx" &> /dev/null; then | |
echo "pkgx is already installed" | |
eval "$(pkgx --shellcode)" | |
else | |
echo "installing pkgx" | |
eval "$(curl -Ssf https://pkgx.sh)" | |
fi | |
env +jq +yq | |
jq --version | |
yq --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment