Skip to content

Setting Up Pi: You Need Node.js First

Step-by-step illustrated guide | For users willing to tinker a bit | Pi is a "bring your own model API key" engine

Pi is another CLI agent Scholardo supports, following the "Bring your own model API key" route. Compared to the other engines, Pi has one extra prerequisite: you must have Node.js installed on your computer first. This guide states that prerequisite up front, then walks through the install.


Prerequisites (the first line is the key one)

  • You must install Node.js first: Pi installs via npm, and npm comes bundled with Node.js. Without Node.js, Pi cannot be installed.
    • Download and install it from nodejs.org (the LTS / long-term-support version is fine).
    • Scholardo also reminds you of this before you install Pi — the install confirmation dialog explicitly reads Requires Node.js (npm) to be installed first.
  • Your own model API key (Pi follows the "bring your own key" route).
  • A Mac with Scholardo installed.

💡 How to confirm Node.js is installed? Open the Terminal app, type node -v and press Enter — if it shows a version number (like v20.x.x), you're set.


Step-by-Step Walkthrough

Step 1 · Install Node.js first

  1. Open nodejs.org in your browser and download the LTS macOS installer.
  2. Double-click to install, clicking through the steps.
  3. Verify with node -v in Terminal afterward (see above).

Step 2 · Install Pi from the chooser

  1. Start a new session in the terminal area on the right, and find the Pi row in the "Choose an agent" card (subtitle Bring your own model API key).
  2. Click Install on that row.
  3. A confirmation dialog appears:
    • The body includes the command npm install -g --ignore-scripts @earendil-works/pi-coding-agent
    • and appends: Requires Node.js (npm) to be installed first.
    • Click Install.
  4. If this step errors out saying npm can't be found: Node.js isn't installed or isn't being recognized — go back to Step 1 to install Node.js, restart Scholardo, and try again.

Step 3 · Enter your key and launch

  1. After it installs, follow Pi's prompts to enter your own model API key (the "bring your own key" route).
  2. A1 behavior: once installed, the chooser reappears automatically — click the Pi row to launch; on failure it shows Retry.
  3. An input box appears at the bottom of the terminal; type your first prompt.

Shot list (screenshot checklist)

Capture the Scholardo UI from the current release. nodejs.org is vendor UI — capture as-is. Redact keys in screenshots.

#What to captureUI sourceKey callout
1nodejs.org download page, with the LTS version circledVendor UI (nodejs.org, captured as-is)🔴 "Install this first, or Pi won't install"
2Terminal node -v showing a version numbermacOS TerminalCaption: "a version number = you're set"
3The Pi row in the chooser (subtitle Bring your own model API key) + InstallScholardoCircle the Pi row
4Install confirmation dialog, with npm install … pi-coding-agent and Requires Node.js (npm) to be installed first.ScholardoCircle that Node.js prerequisite line in red
5Enter your own API key (redacted) and launchScholardo (key redacted)Caption: "Pi uses the bring-your-own-key route"

Key callouts recap

  1. 🔴 Install Node.js first (nodejs.org, LTS): Pi installs via npm — without Node.js it can't install.
  2. The confirmation dialog explicitly reads Requires Node.js (npm) to be installed first.
  3. Pi is the "bring your own key" route: it needs your own model API key.
  4. A1 auto-return after install: click the row to launch; on failure it shows Retry.

Common pitfalls (see the full P0-6 · Install & Sign-in FAQ)

  • Says npm / node not found: Node.js isn't installed or recognized. Install LTS from nodejs.org, restart Scholardo, and try again; you can self-check with node -v / npm -v in Terminal.
  • It asks for a key after installing: unlike Claude / Codex, Pi doesn't sign in with a subscription — it needs your own model API key; enter it as prompted.

Data Privacy Disclosure

When you talk with a model via Pi, your manuscript content is sent to whichever model provider you've configured for processing (determined by where your own API key points). Scholardo only sends the necessary content when you actively start a conversation. If your research materials involve unpublished data, participant privacy, or confidentiality agreements, first confirm that sending them to a third-party AI service complies with your institution's requirements.

Scholardo is a closed-source commercial product.