This commit is contained in:
2025-08-08 17:13:33 +02:00
parent 52c88bccb5
commit a727d19281
2 changed files with 9 additions and 7 deletions

View File

@@ -14,21 +14,17 @@ Herolib is an opinionated library primarily used by ThreeFold to automate cloud
The Hero tool can be installed with a single command: The Hero tool can be installed with a single command:
```bash ```bash
curl https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development/install_hero.sh > /tmp/install_hero.sh curl https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development/install_hero.sh | bash
bash /tmp/install_hero.sh
#do not forget to do the following this makes sure vtest and vrun exists
bash install_herolib.vsh
``` ```
Hero will be installed in: Hero will be installed in:
- `/usr/local/bin` for Linux - `/usr/local/bin` for Linux
- `~/hero/bin` for macOS - `~/hero/bin` for macOS
After installation on macOS, you may need to: After installation on macOS, you may need to do source see below or restart your terminal to ensure the `hero` command is available:
```bash ```bash
source ~/.zprofile source ~/.zprofile
# Or copy to system bin directory
cp ~/hero/bin/hero /usr/local/bin
``` ```
The Hero tool can be used to work with git, build documentation, interact with Hero AI, and more. The Hero tool can be used to work with git, build documentation, interact with Hero AI, and more.
@@ -40,7 +36,13 @@ For development purposes, use the automated installation script:
```bash ```bash
curl 'https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development/install_v.sh' > /tmp/install_v.sh curl 'https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development/install_v.sh' > /tmp/install_v.sh
bash /tmp/install_v.sh --analyzer --herolib bash /tmp/install_v.sh --analyzer --herolib
#do not forget to do the following this makes sure vtest and vrun exists
cd ~/code/github/freeflowuniverse/herolib
bash install_herolib.vsh
# IMPORTANT: Start a new shell after installation for paths to be set correctly # IMPORTANT: Start a new shell after installation for paths to be set correctly
``` ```
#### Installation Options #### Installation Options

BIN
release

Binary file not shown.