Skip to content

stdSystem

stdSystem(): Extension

Defined in: packages/core/src/presets/std-system.ts:41

Compose the standard fishbowl system with all coreutils, shell, init, and package manager.

Extension

An Extension containing the full standard system.

Merges all bin presets (coreutils, grep, sed, awk, etc.), the shell interpreter, init system, and package manager into a single Extension. Each sub-factory maps to a Linux package. Includes default environment variables and the /lib/interp/js and /lib/interp/sh interpreter registrations.

import { Unix, stdSystem } from '@fishnet/core'
import { testRuntime } from '@fishnet/runtime'
const image = await Unix().use(stdSystem()).build()
const sys = await testRuntime().boot(image)