Oysterun

Getting Started

Set up Oysterun step by step

A complete guide to installing Oysterun, setting up your computer, connecting your phone, and completing a first conversation and Mail report.

On this page Article start

Go from a new Oysterun installation to one useful result: a first conversation and a first Mail report.

Term Meaning
Host The Oysterun service on your own computer or server
Session A working conversation in one project folder
Agent The AI assistant that reads files, edits files, and runs commands on your computer, in that project folder
Provider Codex, Claude Code, Grok, Antigravity, or OpenCode—runs the Agent
Oysterun Mail The product inbox where Agents can deliver reports

You need one Mac or Ubuntu computer, a browser, and an iPhone for the App. Install only one Provider to begin.

Check the requirements

The computer that runs the Oysterun Host needs:

Item Needs Check with
System macOS, or Ubuntu 22.04 or newer sw_vers -productVersion / lsb_release -ds
Processor One processor core (vCPU) getconf _NPROCESSORS_ONLN
Memory 2 GB of memory, or 1 GB plus about 2 GB of swap (Linux shows it as 2 GiB) free -h on Ubuntu
Disk 10 GB of disk space, with at least 2 GiB free during an update df -h .
Internet For installation, sign-in, and Managed connectivity Open https://oysterun.com

Swap is disk space used when memory is full. Managed connectivity is the technology that lets you reach the Host from outside without a fixed IP address.

Node.js runs Oysterun, and npm installs its package; node -v && npm -v checks both. The installer handles Node.js 22 on supported systems.

More details

On macOS, Homebrew is a package manager (brew --version checks it); if both Node.js 22 and Homebrew are missing, the installer stops and points to the official Node.js installer.

Add Linux swap (only if memory is low)

If a Linux Host has only 1 GB of memory, it needs at least 2 GiB of swap—disk space used temporarily as memory. If you are not comfortable with terminal administration commands, ask the person who manages the computer. Oysterun does not create swap automatically because that requires administrator access.

  1. Inspect the current state:
free -h
swapon --show
  1. Check the swap file. /swapfile is the file that provides swap; /etc/fstab records disks and swap that start at boot. If /swapfile already exists but is not listed by swapon --show, stop and inspect both instead of overwriting it.
  2. If it does not exist, an administrator can create it with:
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
grep -qF '/swapfile none swap sw 0 0' /etc/fstab || echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
free -h
swapon --show

Success means swapon --show lists /swapfile at about 2G and the free -h Swap row shows about 2.0Gi.

If a command fails or the result differs, stop: do not repeat the commands or overwrite an existing swap file. Ask the computer administrator or Ubuntu support to inspect /swapfile and /etc/fstab.

Install Oysterun

  1. Open a terminal as the same operating-system user who will run the Host and Provider. Do not use sudo npm install -g oysterun.
  2. Run the installer:
curl -fsSL https://oysterun.com/install.sh | bash

The installer selects the current Oysterun release, installs the CLI (Oysterun's terminal command) under the current user's local npm prefix (the user-owned folder where npm installs that command), and opens guided Host Setup when configuration is missing.

Success means the package is prepared and guided Setup opens.

More details

The installer identifies the selected release and prepared package before it opens Setup:

  ✓ Oysterun release selected: [current version] ([release channel])
  ✓ Package prepared: [current version]; running Host qualification follows onboarding.

A release channel is the release track; Beta is the current test release. Onboarding is the guided Setup you complete next. Host qualification follows onboarding means Oysterun checks the Host after Setup.

Problem What to do
Installation fails Check that the download works, the current user can write to the shown npm prefix, and the OS is supported
Installation succeeds but Setup does not open Run oysterun setup as the same user

Complete Host Setup

Setup does not require a Provider. Setup is interactive: answer each question in the terminal. If an AI coding agent is helping you, type the answers yourself, especially the hidden password. The terminal labels the seven steps and uses this wording:

  1. Host name — Name this Host defaults to oysterun-<computer name>. Press Enter to accept it, or type another recognizable name.
  2. Project folders — Default Browse Root defaults to ~/OysterunAgents. Press Enter to accept the recommended folder, and keep your project folders inside it.
  3. Host password — at Create Host password type the password used by the browser and App, then type it again at Confirm Host password. Both stay hidden while you type.
  4. Managed connectivity — Setup registers the Host and allocates its Oysterun Managed Endpoint, the Host's own address for reaching it from outside without a fixed IP address.
  5. Help improve Oysterun? — answer Enable daily telemetry?. Daily telemetry sends Oysterun one daily count of feature usage to improve the product: feature-use counts only—no conversation content, files, or passwords. It is optional; change it later in Host Preferences if needed.
  6. Phone app — answer Show phone app download link and QR code? if you are ready to pair the App. A QR code is a square pattern the phone camera can scan. If you answer y, Setup shows the App download link and waits at Press Enter after installing the phone app to continue to login QR...; install the App, then press Enter.
  7. Start Host — Setup installs and starts the Host service. On Ubuntu, it also reports whether the Host will start automatically after the server restarts.

Success means Oysterun is ready appears and the printed Managed Host URL opens. Installing the CLI alone is not success.

Keep the Host URL and the Host password private. A QR code can carry temporary sign-in information, so never publish or save a live QR.

On Ubuntu, Setup prints one Start at boot result (macOS does not print it):

Start at boot What to do
enabled Nothing
not enabled yet Paste the printed sudo loginctl enable-linger [your Ubuntu user] command and press Enter. If asked, type the password you use to log in to this Ubuntu computer; it stays invisible while you type. Then run loginctl show-user [your Ubuntu user] -p Linger; success shows Linger=yes.
not set up Run oysterun setup again, or run the installer with --reinstall, then follow the new result
this system does not support it Run oysterun service:start after each server restart

If startup fails, use the last terminal error to correct that step, then run oysterun setup again.

More details: what Setup shows

Values in brackets come from your computer or choices:

[1/7] Host name
? Name this Host [oysterun-<computer name>]:

[2/7] Project folders
Default Browse Root [~/OysterunAgents]:

[3/7] Host password
? Create Host password:
? Confirm Host password:

[4/7] Managed connectivity
  Registering with backend at https://api.oysterun.com...
  Allocating Oysterun Managed Endpoint...

[5/7] Help improve Oysterun?
? Enable daily telemetry? (Y/n)

  ✓ Cloud registration complete
  Oysterun Managed Endpoint: [your Host URL]

[6/7] Phone app
? Show phone app download link and QR code? (y/N)
? Press Enter after installing the phone app to continue to login QR...

[7/7] Start Host
  Installing LaunchAgent and starting Oysterun Host ([Host name])...
  ✓ Oysterun Host is running at [local Host URL]

Oysterun is ready.
Config: [Host config path]
Host URL: [Managed Host URL]
Host configuration, Cloud identity, service health, and endpoint were verified.

[On Ubuntu, one of these results follows:]
Start at boot: enabled. The Host starts by itself after this server restarts.

Start at boot: not enabled yet. Run this once, then the Host starts by itself after a restart:
  sudo loginctl enable-linger [your Ubuntu user]

Start at boot: not set up. Run Setup again (or the installer with --reinstall) to set it up.

Start at boot: this system does not support it (no systemd). After a restart, run: oysterun service:start

The last line means Oysterun checked the Host settings, its registration, that the service is running, and the Managed Endpoint. Setup reports the Host URL during the guided flow.

Sign in and pair the phone App

  1. Open the Host URL in an ordinary browser and sign in with the Host password.
  2. Choose the Host Preferences tile under OYSTERUN. On a phone, tap the top-left >| toggle to open the drawer first.
  3. Under Host Identity And Browse Root, compare Host Display Name with the name entered in Setup.

Before any Session exists, this screen shows No sessions yet. After your first Session, sign-in opens your last conversation instead. Use Running Sessions in the desktop sidebar to find the list; on a phone, open the same drawer with the top-left >| toggle.

The screen shown before any Session exists
Before any Session exists, No sessions yet proves the browser reached the new Host through its Managed Endpoint. New Session, Mail, and Host Preferences are under OYSTERUN.

To pair the phone:

  1. Install the Oysterun iOS App.
  2. Scan the fresh login QR shown in Setup's Phone app step.
  3. To generate another one later, open Host Preferences from the OYSTERUN tiles (or the phone drawer), then go to Connection → Login QR code and choose Generate Login QR. Each login QR expires after 15 minutes; generate it only when the phone is ready to scan.
A login QR generated in Host Preferences
A login QR expires after 15 minutes. Never share an active login QR with anyone.
The Oysterun App sign-in screen on an iPhone Simulator
The App accepts a Host URL and password, or opens the QR scanner with Scan QR code.

The App can also use the same Host URL and Host password. The browser and phone are two ways to use the same Host and the same Sessions; pairing the phone does not create another Host.

More details
Problem What to do
A screen shows a different Host name or address Close it and copy the correct Managed Endpoint from the Setup success output
A security warning remains Do not enter the password; report the warning text and system version directly in Oysterun Issues
The password is rejected Return to sign-in and enter the Host password set in Setup
The URL is unreachable Copy the Managed Host URL from the Setup success output again and check the internet connection; if it still does not open, run oysterun setup and finish the failed Host step

Find the macOS version in Apple menu → About This Mac, the Ubuntu version with lsb_release -a, or the iOS version in Settings → General → About. Never include a password, QR code, or token.

Install and sign in to one Provider

A Provider runs the Agent inside each Session. Oysterun supports five equal alternatives. Install only one to continue, using the account you use to sign in to this Mac or Ubuntu computer—not an Oysterun account.

Codex

  1. Install:
npm install -g @openai/codex
  1. Sign in. Your browser opens; choose Sign in with ChatGPT or the sign-in method you normally use, finish the browser flow, then return to Terminal:
codex login
  1. Confirm the active sign-in method:
codex login status

Claude Code

  1. Install:
curl -fsSL https://claude.ai/install.sh | bash
  1. Sign in. Your browser opens; use your Claude account. When Terminal shows Login successful, press Enter:
claude auth login
  1. Confirm that the status says you are logged in:
claude auth status --text

Grok

  1. Install:
npm install -g @xai-official/grok
  1. Sign in. Your browser opens; complete the Grok sign-in, then return to Terminal:
grok login
  1. Confirm by opening Grok. You are signed in when its interactive screen opens without asking you to authenticate; exit it, then return to Oysterun:
grok

Antigravity

  1. Install:
curl -fsSL https://antigravity.google/cli/install.sh | bash
  1. Sign in. Your browser opens. Follow the Google sign-in flow: choose Google OAuth for a personal Google Account, or the Google Cloud option your organization uses, finish the browser flow, then return to Terminal:
agy

You are signed in when Antigravity opens its main interface and shows your account email in the header instead of asking you to sign in. Oysterun does not require a specific minimum Antigravity version.

OpenCode

  1. Install with OpenCode's official installer:
curl -fsSL https://opencode.ai/v2/install | bash
  1. After installing, run exec $SHELL (or open a new terminal window), then sign in.
  2. Sign in from Terminal, following the official sign-in guide. Choose the model service (for example OpenAI or Anthropic) and the sign-in method; for OAuth, finish the browser or authorization-code flow, then return to Terminal:
opencode auth login
  1. Confirm that the service you signed in to appears in the list:
opencode auth list

Oysterun does not require a specific minimum OpenCode version.

If your first Oysterun conversation shows Login required, return to this section and sign in to that tool again.

Check that Oysterun found the Provider:

  1. From the desktop sidebar, choose the New Session tile under OYSTERUN to open Session Setup. On a phone, first open the drawer with the top-left >| toggle. You can also press ⌘⇧P on macOS to open the command palette and choose Open New Session.
  2. Select the Provider and press Refresh provider models.

A model is the AI version the Provider uses to answer and work. A running Host uses that button to find a newly installed Provider and build its model list; without it, discovery happens at the next Host start.

You see Meaning
Installed: version … (found automatically) Ready
Not installed Install and sign in, then refresh
Update required: … Update from that Provider's official link above, then refresh again

Start your first Session

From the desktop sidebar, choose New Session under OYSTERUN. On a phone, open the drawer with >| first. This opens Session Setup:

  1. Choose the Provider you just signed in to.
  2. Choose an available model and reasoning effort—how much time and computation the Agent spends thinking.
  3. Give the Agent and Session recognizable names.
  4. Select the exact project folder you want the Agent to use.
  5. Keep Install/Overwrite Oysterun Skills selected. It installs or updates only Oysterun instruction files for the Agent; it never overwrites project files.
  6. Choose Start Session.

Success opens the new chat and lists it under Running Sessions in the sidebar.

The Oysterun Skills control selected in Session Setup
Keep Install/Overwrite Oysterun Skills selected for the first Session.
More details: if it does not start
You see What to do
Not installed Install and sign in
Update required Update
No model is available Press Refresh provider models
A folder error Select a project inside the Default Browse Root
Another error Report the text and system version directly in Oysterun Issues

Find the macOS version in Apple menu → About This Mac, the Ubuntu version with lsb_release -a, or the iOS version in Settings → General → About. Never include passwords or tokens.

If an existing Session is missing the product Skills, open that Session and press ⌘⇧P on macOS or Ctrl+Shift+P on Windows and Linux, then choose Open Session Profile. In Oysterun Skills, choose Install/Update Oysterun Skills before asking it to use Mail.

Send a small, read-only first request:

Read this project without changing files. Tell me the project folder name and summarize what it contains in three bullets.
The first read-only request ready to send
This small first request asks the Agent to read without changing files.

Wait for the final reply:

You see Meaning
Connected Only that the browser or App reached the Host
Typing or Working The Agent is still processing
The full reply at the bottom of the conversation, and Typing/Working is gone The task is complete
The first Session while Codex is still typing
Typing or Working is progress, not the completed answer.

To come back to it later:

  1. In the desktop sidebar, open Running Sessions and choose the same Session. On a phone, first open the drawer with the top-left >| toggle.
  2. If the Session has stopped, expand Stopped, open that row's ••• menu, and choose Resume Chat.

Its name, Agent, project folder, and earlier reply should still match. Reopen that Session instead of creating a duplicate when you want to continue the same work.

Receive your first Mail report

  1. In that Session, send:
/oysterun_mail_skill Create a short webpage-style report (HTML) from your project summary. Give it a clear title and one-sentence summary, include no private data, and send it to my Oysterun Mail.

The /oysterun_… at the start tells the Agent which Oysterun skill to use.

  1. Wait for the Agent to confirm that the report was sent.
  2. See the result in Mail under OYSTERUN (on a phone, tap the top-left >| toggle to open the drawer first; on a desktop, it is in the left sidebar): the new report is at the top of Inbox.
Narrated walkthrough: receive your first Mail report

Oysterun Mail is not an external email message.

The first report in the Oysterun Mail inbox
The Mail tile opens Inbox, which shows the new report title and one-sentence summary.
The opened Getting Started Demo report
Open the Mail item to read the complete report.
More details
Problem What to do
The Agent has not confirmed sending Wait for it to finish
It confirmed but no item appears Choose the Mail tile again
The Agent reports missing Skills Open the command palette with ⌘⇧P on macOS or Ctrl+Shift+P on Windows and Linux, choose Open Session Profile, install or update Oysterun Skills, and send the request again

Continue with the Guides for task-focused instructions and explanations.

Uninstall Oysterun

In a terminal, as the operating-system user who runs the Host:

  1. Preview the exact removal plan first:
oysterun uninstall --dry-run --confirm DELETE
  1. Read the preview. It must name the Host service, configuration, and Oysterun terminal command installed for this user; stop if any item is unexpected.
  2. Remove the selected Host service, its configuration, and the Oysterun terminal command installed for this user:
oysterun uninstall --confirm DELETE

The default browse root, Agent folders, projects, Node.js, npm, and unrelated global packages are preserved. To remove the service while retaining Oysterun configuration and its terminal command, use oysterun uninstall --keep-config instead; do not combine it with --confirm DELETE.

Result Meaning
Complete uninstall succeeded: service removed, configuration removed, CLI removed; user data preserved. Success
A check-before-removal error Oysterun could not confirm the files or permissions it would remove
Complete uninstall failed at … Removal stopped at the named step; keep the complete output and correct that step
More details

If the cause is unclear, report it directly in Oysterun Issues. Find the macOS version in Apple menu → About This Mac, the Ubuntu version with lsb_release -a, or the iOS version in Settings → General → About. Never include passwords or tokens.