> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devinenterprise.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Devin base images

> Choose the base image your Devin environment is built on with the runs-on blueprint field, such as a minimal Ubuntu 24.04 or 26.04 image.

By default, Devin builds your environment on the platform's default image, which ships with many language toolchains installed. A base image lets you choose a minimal operating system image yourself in your [blueprint](https://docs.devinenterprise.com/onboard-devin/environment/blueprints.md), by name and version, and install only the toolchains your repositories need.

## Choose a base image

A base image is named `<family>:<version>`. Set it with `runs-on` at the top of your organization or enterprise blueprint:

```yaml theme={null}
runs-on: ubuntu:24.04

initialize:
  - name: "Install Python"
    uses: github.com/actions/setup-python@v5
    with:
      python-version: "3.12"
```

Without a base image, the build uses the platform's default image. Machine size, CPU, memory, and disk do not change.

## Available images

| Family | Images | Platform |
| - | - | - |
| [Ubuntu](#ubuntu) | `ubuntu:24.04`, `ubuntu:26.04` | Linux |

### Ubuntu

`ubuntu:24.04` and `ubuntu:26.04` are minimal Ubuntu LTS images. They have what Devin itself needs to work, and little else. The default Linux image is Ubuntu 22.04 with many toolchains preinstalled.

| | Default Linux image | `ubuntu:24.04`, `ubuntu:26.04` |
| - | - | - |
| Ubuntu release | 22.04 | 24.04 or 26.04 |
| Git, Git LFS, Docker with Compose and Buildx | Yes | Yes |
| Node.js through `nvm` | Yes | Yes |
| Chrome and the desktop Devin uses for browser and computer use | Yes | Yes |
| `curl`, `wget`, `jq`, `zip`, `unzip`, `ripgrep` | Yes | Yes |
| Python | `pyenv` with several versions, `pip` | System `python3` only, without `pip` or `venv` |
| Rust, Java (OpenJDK), Homebrew | Yes | No |
| `yarn`, `pnpm` | Yes | No |
| C toolchain (`build-essential`) | Yes | No |
| AWS CLI | Yes | No |
| LaTeX, Jupyter, data science Python packages | Yes | No |

Install what your repositories need in the blueprint that names the image:

| You need | Add this step |
| - | - |
| Python with `pip` | `uses: github.com/actions/setup-python@v5` |
| Java | `uses: github.com/actions/setup-java@v4` |
| Go | `uses: github.com/actions/setup-go@v5` |
| A specific Node.js version | `uses: github.com/actions/setup-node@v4` |
| `yarn` or `pnpm` | `run: npm install -g yarn pnpm` |
| C compiler and `make` | `run: sudo apt-get update && sudo apt-get install -y build-essential` |
| Rust | `run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \| sh -s -- -y` |
| AWS CLI | Install it before any step that uses AWS credentials |

See [GitHub Actions (`uses`)](https://docs.devinenterprise.com/onboard-devin/environment/blueprint-reference#github-actions-uses) for the step format.

## Switch an existing environment

1. Add a step that installs each tool your blueprints use and the image leaves out. You can add and test these steps while still on the default image.
2. Add `runs-on` with the image, for example `runs-on: ubuntu:24.04`.
3. Save. The next build is a full build on the new image, not a [differential build](https://docs.devinenterprise.com/onboard-devin/environment/differential-builds).

To go back, remove the base image from `runs-on` and rebuild.

## Troubleshooting

### Blueprints name more than one base image

Two blueprints in the build set different images. The message lists them. Change them to the same value, or name the image in one blueprint only.

### Base images in runs-on are not available yet

Base images are not enabled for your deployment. Remove the base image from `runs-on` to build on the default image, and contact your account team.

### Base image does not exist

The value is not one of the [available images](#available-images). Check the spelling and version.

### Command not found after switching

A step uses a tool that the default image has and the base image does not. Check what your image leaves out under [Available images](#available-images) and add an install step before it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.