Created
June 22, 2026 21:16
-
-
Save nickojs/4abca72bc1098885a79e43026cdfb9cc to your computer and use it in GitHub Desktop.
omni-cli installation
This file contains hidden or 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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| INSTALL_DIR="$HOME/.omni-ecosystem/omni-cli" | |
| if [ -d "$INSTALL_DIR" ]; then | |
| echo "omni-cli already exists at $INSTALL_DIR, pulling latest..." | |
| git -C "$INSTALL_DIR" pull | |
| else | |
| mkdir -p "$(dirname "$INSTALL_DIR")" | |
| git clone https://github.com/nickojs/omni-cli.git "$INSTALL_DIR" | |
| fi | |
| cd "$INSTALL_DIR" | |
| ./startup.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment