since I might use it in filename but
and I end up with
$> bvv=$(bids-validator-deno --version | awk '{{print $2;}}'); mkdir derivatives/; bids-validator-deno --json -o derivatives/bids-validator-$bvv.json .
$> ls -l derivatives/
total 84
84 -rw-r--r-- 1 yarick jblab 84372 Oct 1 11:56 'bids-validator-'$'\033''[94m2.1.1'$'\033''[39m.json'