CLI
rerent 은 의존성 없는 Node.js 단일 파일 CLI 예요(Node 20+).
curl -fsSL https://rerent.ai/cli/rerent.mjs -o /usr/local/bin/rerent && chmod +x /usr/local/bin/rerent
rerent login --token rlt_… # ~/.rerent/config.json 에 저장 (RERENT_TOKEN 환경변수도 됨)
rerent whoami
명령
rerent skus # SKU 목록
rerent market # SKU 별 최저 매도·24h 체결
rerent depth --sku icn-1-h100 --start "in 3h" --duration 12h
rerent pools # 풀과 남은 노드·시간
rerent pool default # 스케줄
rerent orders create --side buy --pool default --sku icn-1-h100 --start now --duration 12h --nodes 2 --max-rate 30000
rerent orders create --side buy … --estimate # 견적만
rerent orders create --side sell --pool default --sku icn-1-h100 --start "in 8h" --duration 4h --nodes 1 --min-rate 20000 --allow-standing --allow-partial
rerent orders list [--side buy] [--state standing]
rerent orders get ordr_…
rerent orders cancel ordr_…
rerent nodes # 내 노드 · ssh 명령
rerent realized # 실현 할인
rerent clusters # 공급자: 클러스터
시각은 now · in 3h · in 2d · tomorrow · 2026-09-15T00:00:00+09:00 · epoch 초를 받아요. 기간은 1h 12h 3d 2w. --json 을 붙이면 원본 JSON 을 출력해요.
orders create 는 자동으로 Idempotency-Key 를 만들어 붙이므로 네트워크 오류 뒤 같은 명령을 다시 실행해도 중복 주문이 나지 않아요(--idempotency-key 로 직접 지정 가능).