Skip to content

Installation

There are three ways to work with an oikapi instance, and all three reach the same API:

  • The web interface — administering an instance and working with records. Nothing to install.
  • The oi CLI — scripting, CI, and app development. This page covers installing it.
  • The REST API — anything you drive from your own code. See the API reference.

Use whichever fits the task. Most day-to-day administration happens in the web interface; the CLI is what you reach for when a change should be repeatable, reviewable, or scripted.

On macOS and Linux:

Terminal window
curl -fsSL https://get.oikapi.com/cli | sh

The installer detects your operating system and architecture — there is nothing to choose between Apple Silicon, Intel, and x86_64 Linux.

On Windows, use PowerShell:

Terminal window
irm https://get.oikapi.com/cli.ps1 | iex
Terminal window
# Log in to your oikapi instance
oi login https://your-instance.example.com
# Verify your connection
oi whoami
Terminal window
# Check version
oi version
# List available tables
oi table list