Install
Standalone binaries are published to
Tealstreet/cli. Pick a
channel below; both install the same artifact.
macOS & Linux
# One-liner — detects platform/arch, drops into /usr/local/bin
curl -fsSL https://get.tealstreet.io/cli | bash
# Homebrew tap
brew install tealstreet/tap/tealstreet
Verify:
tealstreet --version
If you see command not found, /usr/local/bin isn't on your PATH —
add it, or symlink the binary somewhere that is.
The Homebrew formula lives in
Tealstreet/homebrew-tap.
Windows
Download the latest .exe from the
releases page and drop it on
your PATH. WSL users — install through the macOS/Linux one-liner inside
WSL.
Available builds
| Asset | Platform |
|---|---|
tealstreet-darwin-arm64 | Apple Silicon Macs |
tealstreet-darwin-x64 | Intel Macs |
tealstreet-linux-x64 | Linux x86_64 |
tealstreet-linux-arm64 | Linux arm64 |
First run
tealstreet
No args = start the REPL. The prompt looks like:
:<account> [<symbol> $<last-price>] >
If you have no accounts yet, add one:
tealstreet account add -n mybybit -e bybit -k <KEY> -s <SECRET> --default
Then re-launch and it'll auto-focus that account. To see every supported exchange and the credential fields each one needs:
tealstreet account exchanges
Logging in
The CLI uses Auth0 for update checks and identity — separate from any exchange API keys, which live only on your machine.
Inside the REPL:
> login
Your browser opens, you sign in, the CLI prints Logged in as <email>,
and writes the token to ~/.tealstreet/config.json. logout clears it.
whoami (alias auth) shows the current user.
The OAuth callback listens on localhost:9876 during the flow.
Updating
tealstreet update # download and replace the running binary
tealstreet update -c # version-check only
update --check (or -c) checks the latest release on GitHub without
downloading. The REPL also runs a background check at startup and prints
a banner when a newer version is published.
Top-level flags
| Flag | Effect |
|---|---|
-v / --version | Print version and exit |
--update | Trigger updater |
--check-update | Version-check only |
--disable-all | Start REPL with all exchanges disabled |
--disable-all is useful when you want to launch the CLI without
auto-connecting every account — for cold-starts on flaky networks, or for
running purely-local commands like sim on / set.
File locations
The CLI keeps state under ~/.tealstreet/. All of it is text or SQLite —
inspectable with cat, jq, or sqlite3. See
Config files for the full layout.
| Override | Effect |
|---|---|
TEALSTREET_CONFIG_DIR | Move the entire state directory |
TEALSTREET_CONFIG_FILE | Override just the main config file path |
Where to next
- First trade — Quickstart
- Add more accounts — Commands → Accounts
- Pair to the web terminal — Pairing