Install
macOS & Linux
curl -fsSL https://yourai.bdtren.com/cli/install.sh | bash
Windows (PowerShell)
irm https://yourai.bdtren.com/cli/install.ps1 | iex
Homebrew
brew tap bdtren/yourai
brew trust --tap bdtren/yourai
brew install yourai
npm
npm install -g @yourai/cli
The script installers put yourai in ~/.yourai/bin without
sudo, add it to your PATH, and check the download's SHA-256 before
installing. On macOS and Linux the installer also links yourai into a writable
folder already on your PATH (such as ~/.local/bin or
/opt/homebrew/bin), so you can run it in the same terminal. If it finds no such
folder, it prints a source command to run instead.
Homebrew 7 and later only loads formulae from taps you trust, so run
brew trust --tap bdtren/yourai once after tapping.
Example — Duy installs on his Mac
$ curl -fsSL https://yourai.bdtren.com/cli/install.sh | bash
yourai: installing yourai v0.0.3 for aarch64-apple-darwin
yourai: checksum verified against https://yourai.bdtren.com/cli and GitHub
yourai: added /Users/duy/.yourai/bin to PATH in /Users/duy/.zshrc
yourai: installed to /Users/duy/.yourai/bin/yourai
yourai: linked /opt/homebrew/bin/yourai, so you can run yourai now
yourai: next: run yourai doctor then yourai init
Questions or problems? support@bdtren.com · Contact page.