torrent/scripts/v_install.sh
2024-01-13 13:01:54 +03:00

15 lines
414 B
Bash

#!/bin/bash
set -e
clear
export BASE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
export NU_CONFIG_DIR=${BASE}/nushell/config
export PATH=${BASE}/bin:${BASE}/v:${PATH}
echo "INSTALL HERO"
curl https://raw.githubusercontent.com/freeflowuniverse/crystallib/development/scripts/installer_hero.sh > /tmp/hero_install.sh
bash /tmp/hero_install.sh
sudo cp ~/hero/bin/hero $BASE/../bin/
hero -help