# rhx

> Go-native Robinhood CLI for npx

Latest version **0.4.8** (published 2026-07-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install rhx
pnpm add rhx
yarn add rhx
bun add rhx
```

Provides the command `rhx`.

## Health

**Score 45/100 (D)** — status: active.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.4.8 |
| Published | 2026-07-22 |
| First published | 2026-02-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=18 |
| Dependencies | 0 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | finlayi |
| Keywords | robinhood, cli, automation, json, options, crypto, npx, trading |

## Links

- npm: https://www.npmjs.com/package/rhx
- Repository: https://github.com/finlayi/robinhood-cli
- Homepage: https://github.com/finlayi/robinhood-cli#readme
- Issues: https://github.com/finlayi/robinhood-cli/issues
- npm.io page: https://npm.io/package/rhx

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.4.8 (latest) — 2026-07-22
- 0.4.7 — 2026-05-22
- 0.4.6 — 2026-05-22
- 0.4.5 — 2026-05-22
- 0.4.3 — 2026-05-19
- 0.4.2 — 2026-05-17
- 0.4.1 — 2026-05-14
- 0.4.0 — 2026-05-12
- 0.3.2 — 2026-02-18
- 0.3.1 — 2026-02-11
- 0.3.0 — 2026-02-11
- 0.2.5 — 2026-02-11
- 0.2.4 — 2026-02-11
- 0.2.3 — 2026-02-11
- 0.2.2 — 2026-02-11
- … 6 more at https://npm.io/package/rhx/versions

## README

# rhx

Go-native Robinhood CLI available through `npx`.

This npm package launches a prebuilt native `rhx` binary for the current platform. It does not fall back to Python.

## Quick Start

```bash
npx rhx --help
npx rhx auth login
npx rhx auth verify
```

Brokerage sessions are refreshed from the saved refresh token before `rhx`
falls back to password login. Interactive commands wait for Robinhood approval
challenges; non-interactive commands fail fast instead of repeatedly triggering
MFA prompts.

## Common Examples

```bash
npx rhx --json quote get AAPL
npx rhx --json quote list --symbols AAPL,MSFT,BTC-USD
npx rhx --json options expirations AAPL

TOKEN=$(npx rhx --json live on --yes | jq -r '.data.live_confirm_token')
npx rhx --json orders stock place --symbol AAPL --side buy --type market --qty 1 --live-confirm-token "$TOKEN"
npx rhx --json orders stock place --symbol AAPL --side buy --type market --qty 1 --wait terminal --timeout 60s --live-confirm-token "$TOKEN"
npx rhx --json --limit 20 orders open --asset-type stock
npx rhx --json orders stock sell-all --symbol AAPL --live-confirm-token "$TOKEN"
```

## Platform Support

- `darwin-arm64`
- `linux-x64`
- `win32-x64`

## Links

- Repo and full docs: <https://github.com/finlayi/robinhood-cli>
- Security policy: <https://github.com/finlayi/robinhood-cli/blob/main/SECURITY.md>

---
_Source: https://npm.io/package/rhx · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
