We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c0fad0 + 87ff0aa commit d390bffCopy full SHA for d390bff
src/xpk/commands/cluster.py
@@ -710,6 +710,9 @@ def cluster_create_ray_cluster(args) -> None:
710
711
def install_jq(args):
712
"""Installs 'jq' utility."""
713
+ if shutil.which('jq'):
714
+ xpk_print("Task: 'Install jq' skipped, jq already installed.")
715
+ return
716
command_jq_install = 'sudo apt install jq -y'
717
xpk_print("Task: 'Install jq' in progress.")
718
return_code = run_command_with_updates(command_jq_install, 'Install jq', args)
0 commit comments