Skip to content

Mammouth Code ​

Mammouth Code is Mammouth AI's terminal-based coding agent, a fork of OpenCode.

➡️ Get your API key — required to use Mammouth Code.

This project is open source and available on GitHub.

Installation ​

Run one of the following commands in your terminal.

bash
curl -fsSL "https://code.mammouth.ai/install.sh" | bash
powershell
irm "https://code.mammouth.ai/install.ps1" | iex

Use in your Terminal ​

Simply type mammouth to run the coding agent.

Use in your IDE ​

For the best experience, open Mammouth Code in the integrated terminal of your IDE (VS Code, Cursor, WebStorm, etc.):

  1. Open the integrated terminal in your IDE
  2. Navigate to your project directory
  3. Run: mammouth

That's it — Mammouth Code will start an interactive session right in your terminal.

Continue a previous session ​

There are 2 ways to continue a previous session:

  • Run mammouth as usual, then use the /sessions command to switch to an old session.
  • Run mammouth -c to continue the last session used in the current folder.

Update ​

To update Mammouth Code to the latest version:

bash
mammouth update

This will fetch and install the latest version, replacing the old one while keeping your configurations and sessions intact.

Uninstall ​

To completely remove Mammouth Code from your system:

bash
mammouth uninstall

This will remove Mammouth Code along with its configurations and sessions.