Skip to content
Fungi
Esc
↑↓navigate↵open⌘Jpreview
On this page
Install Shiitake

Install Shiitake

Install a terminal coding agent that uses your ChatGPT subscription. Run Shiitake in your project folder with the fungi command.

Install Shiitake

Install a terminal coding agent that uses your ChatGPT subscription. Run Shiitake in your project folder with the fungi command.

Shiitake is the agent; Spore installs the fungi command. To use your ChatGPT subscription in a terminal coding agent, install Spore (@fungi.computer/spore) and run fungi in your project folder. You can also use a provider key or Fungi hosted models.

Quick start

  1. Install Spore (Node 22.13 or newer):

    npm i -g @fungi.computer/spore
  2. Open your project folder. Replace your-project with its actual path:

    cd your-project
  3. Start Shiitake:

    fungi

    Setup asks which model to use. Choose your ChatGPT subscription and sign in in the browser.

The rest of this page covers platform requirements, sign-in options and troubleshooting.

Install

Shiitake needs Linux x64/arm64 with glibc 2.35+, or macOS 13.5+ on Apple Silicon or Intel. Linux with glibc 2.17 to 2.34 starts in Full access only: it has no OS sandbox, so Workspace and Read-only are refused. Windows and Alpine Linux (musl) are not supported.

Install with npm and Node 22.13 or newer:

npm i -g @fungi.computer/spore

Keep npm optional dependencies enabled; they supply the native runtime. You do not need a separate Bun installation. On an unsupported machine, the Node launcher exits before loading native code and reports the platform requirements.

Run fungi doctor to see the detected platform and glibc version. On supported Linux and macOS, it also checks saved Fungi sign-in, Fungi model configuration and HTTP connectivity. It reports a missing login with fungi login --provider fungi as the next step and never displays credentials. On unsupported platforms, sign-in is left unchecked; doctor exits with the same platform requirement.

Doctor does not send a model prompt or verify Team credit. A saved login and a reachable Hub do not guarantee that inference succeeds. The version check shows the installed version; it does not check for updates.

If native dependencies are missing, reinstall with:

npm install -g @fungi.computer/spore --include=optional

If your shell cannot find fungi, check that npm’s global executable directory is on your PATH and open a new terminal. Run fungi --version to check which installation it finds.

On Apple Silicon, use arm64 Node. An x64 Node installation under Rosetta is refused before loading the Intel runtime; switch Node architectures and reinstall the CLI with optional dependencies enabled.

First run

Open a terminal in your project folder and run fungi. Setup walks you through choosing a model and starting a local Agent Session. You can connect a Fungi Team or stay local. Every step can be skipped.

fungi login --provider fungi opens Fungi browser sign-in and approval, then selects the Team that pays for models. With one current Team, selection is automatic. You need a funded Team to run hosted models. Use /model inside the conversation to choose Fungi and a hosted model such as Luna. Login alone does not change the Session’s model.

In an interactive terminal, fungi login asks you to choose a subscription, Fungi or an API key. Without an interactive terminal, it defaults to Fungi. Choose a provider explicitly with fungi login --provider <id> or use /login inside a conversation. For a ChatGPT subscription, run fungi login --provider openai --auth-type oauth; it opens a browser sign-in that only you can finish. An installed extension can add another subscription sign-in; see Add a model sign-in with an extension. Your own key or subscription uses that provider’s billing. Fungi models use the selected Team’s hosted billing. Local files, tools and Session storage stay on your machine in either case.

Inside a conversation, /model chooses a model and /thinking chooses a level that model supports. MCP and models share one Fungi account login, while the project’s Computer endpoint and model billing Team are separate selections. Skipping login lets you inspect setup, but does not make a model available.

Use your editor

Use Fungi in your editor (ACP) to connect Zed, Neovim with Agentic.nvim or another ACP client. The editor shares your local login and saved Sessions with the terminal.

Handy commands

Illustrative: these commands need an installed CLI, and login may require a terminal and your provider account.

fungi login --provider fungi
fungi doctor
fungi --version

fungi --yes skips prompts and saves local-only setup. Piped input never opens setup prompts. For automation use fungi run "your prompt" after configuring a model in a terminal. Login requiring a key or browser code needs a terminal.

Resume and stop

Run fungi resume in the same project folder to choose a saved Session, or fungi resume --last for the latest. Closing the terminal leaves the shared local service running. fungi stop stops that service for all local clients without deleting saved Sessions.

Update Fungi

For a global npm, pnpm or Bun installation, run fungi update. It checks the latest published Spore version, updates using the package manager that owns your installation, and restarts the local service. Saved conversations remain.

If installation or the new version check fails, the updater attempts to restore the previous version. Follow any recovery command it prints. If the new version installs but its service cannot restart, run fungi stop, then open fungi again.

If the updater cannot identify your installation, reinstall using the same installation method. For the npm installation above, run npm install -g @fungi.computer/spore --include=optional, then check fungi --version. Standalone binaries are not updated by this command; repeat the installation method you originally used.

Remove Fungi

Stop the shared service with fungi stop, then run npm uninstall -g @fungi.computer/spore. Uninstalling the executable does not delete your project .fungi/ directories or your home .fungi/ configuration and credentials. Keep those if you want to resume work after reinstalling.

Next: Give Shiitake a task and resume it later.

Last updated on

Was this page helpful?