Guide

Beginner's guide to Ray

Never used a terminal before? No problem. This guide walks you through every step — from opening your terminal to talking to your money. Takes about 15 minutes.

What is a terminal?

A terminal is a text-based app on your computer where you type commands instead of clicking buttons. Ray runs in the terminal. Don't worry — you only need to learn a few commands.

1

Think of it like texting your computer

Instead of clicking icons and menus, you type short commands and press Enter. The computer responds with text. That's it. Ray works this way — you type a command like ray status and it shows you your finances.

2

Open Terminal on macOS

Press Command + Space to open Spotlight search. Type Terminal and press Enter. A window with a blinking cursor will appear — that's your terminal. You can also find it in Applications → Utilities → Terminal.

3

Open a terminal on Windows or Linux

On Windows, click the Start menu and search for PowerShell or Windows Terminal. On Linux, press Ctrl + Alt + T or search for "Terminal" in your app launcher. Any of these will work for running Ray.

Install the prerequisites

Ray needs one thing installed first: Node.js. This is a free tool that lets your computer run apps like Ray.

4

Install Node.js

Go to the Node.js website and download the LTS (Long Term Support) version — it's the big green button. Run the installer and follow the prompts. When it's done, open your terminal and type node --version then press Enter. If you see a version number like v20.x.x, you're good.

nodejs.org
5

Install Ray

In your terminal, type npm install -g ray-finance and press Enter. This downloads and installs Ray on your computer. It may take a minute. When it's done, type ray --version and press Enter to confirm it worked. You should see a version number.

Try the demo first

Before connecting your real bank accounts, try Ray with fake data to see how it works. No setup needed.

6

Create a demo database

Type ray demo and press Enter. Ray will create a fake portfolio with realistic transactions, accounts, and balances. This is completely separate from any real data — it's just for trying things out.

7

Explore the demo commands

Try these commands one at a time (type each one and press Enter):

ray --demo status — see a financial overview ray --demo spending — spending breakdown by category ray --demo accounts — linked accounts and balances ray --demo budgets — budget tracking ray --demo goals — financial goal progress ray --demo score — your daily score and streaks

Play around and get comfortable. When you're ready to use your real data, move on to the next section.

Set up Ray

Now it's time to configure Ray with your real accounts. There are two paths — pick whichever feels right for you.

8

Choose your path: Pro or Bring Your Own Keys

Ray Pro ($10/month) is the fastest way to get started — you don't need to create accounts with any AI provider or Plaid. Everything is handled for you. Your data still stays on your machine.

Bring Your Own Keys is completely free, but requires an AI provider (Anthropic, OpenAI, Ollama, or any OpenAI-compatible service) and Plaid credentials for bank connections. It takes a bit more setup, and Plaid production access can take 1–2 weeks to approve.


Pick one and follow the matching steps below.

9

Path A: Ray Pro (quick setup)

Type ray setup and press Enter. When asked to choose a mode, select "Ray Pro". Enter your name, then Ray will open a Stripe checkout page in your browser. Complete the $10/month payment and you'll get a Ray API key automatically. Paste it into the terminal when prompted. That's it — skip ahead to "Connect your bank."

10

Path B: Bring Your Own Keys (free)

You need two things before running setup:

1. An AI provider — Ray supports Anthropic (Claude), OpenAI (GPT), Ollama (local models), and any OpenAI-compatible endpoint like DeepSeek or Groq. Pick whichever you prefer. For Anthropic or OpenAI, create an account and generate an API key. For Ollama, install it locally and pull a model that supports tool calling.


2. Plaid production credentials — this connects to your bank. Create a free account at dashboard.plaid.com, then apply for production access (takes 1–2 weeks). Important: Ray requires production credentials — sandbox or development keys will not work. Detailed steps are in our Plaid credentials guide.


Once you have both, type
ray setup and press Enter. Select "Bring your own keys", pick your AI provider, and paste in your credentials when prompted.

Connect your bank

Link your real bank accounts so Ray can see your transactions and balances.

11

Start the bank connection

Type ray link and press Enter. Ray will open a secure Plaid Link window in your web browser. This is the same technology used by Venmo, Robinhood, and thousands of other finance apps.

12

Select your bank and log in

Search for your bank in the Plaid window. Log in with your bank credentials (these go directly to your bank through Plaid — Ray never sees your bank password). Select the accounts you want to track — checking, savings, credit cards, investments, loans. Click "Continue" and you're connected. You can run ray link again anytime to add more accounts.

Start using Ray

You're all set. Here's how to use Ray day-to-day.

13

Ask Ray anything

Type ray and press Enter. This opens an interactive chat where you can ask questions in plain English. Try asking things like "How much did I spend on food this month?" or "Am I on track for my savings goal?" or "What's my biggest expense?" Type your question and press Enter. Type exit when you're done.

14

Use the dashboard commands

You don't always need the AI chat. These quick commands give you instant answers:

ray status — your full financial overview ray spending — spending breakdown by category ray spending week — just this week's spending ray budgets — how you're tracking against budgets ray goals — progress toward your financial goals ray score — your daily financial score and streaks ray alerts — any important notifications ray transactions — recent transactions

15

Set up automatic daily sync

Ray can automatically pull your latest transactions every morning. Type ray sync --schedule and press Enter. On macOS this creates a background job that runs at 6am daily. On Linux it sets up a cron job. You don't need to do anything after this — your data will stay up to date automatically.

Troubleshooting and help

Something not working? Here are the most common issues and how to fix them.

16

Common issues

"command not found: ray" — Node.js or Ray isn't installed correctly. Try closing your terminal, opening a new one, and running npm install -g ray-finance again.

"command not found: node" or "command not found: npm" — Node.js isn't installed. Go back to the "Install Node.js" step and download it from nodejs.org.


"Permission denied" — On macOS/Linux, try
sudo npm install -g ray-finance (you'll need to enter your computer password).

"Bank won't connect" — Some banks require extra verification. Try again, or check if your bank is supported at plaid.com/institutions.


"API key invalid" — Run
ray setup again and re-enter your keys. Make sure you copied the full key with no extra spaces.

17

Where to get help

Run ray doctor to check if everything is configured correctly — it will flag any problems.

If you're stuck, open an issue on GitHub and describe what happened. Include the error message if you see one. The community is friendly and usually responds quickly.

github.com

All 17 steps complete

You're all set.

Ray is installed, connected to your bank, and syncing daily. Just type ray anytime to talk to your money.

Try Ray free

Open source, local-first, and takes five minutes to set up.

View on GitHub