stdSystem
stdSystem():
Extension
Defined in: packages/core/src/presets/std-system.ts:70
Compose the default fishbowl system: coreutils, text tools, shell, init, and pkg.
Returns
Section titled “Returns”An Extension containing the full standard system.
Remarks
Section titled “Remarks”stdSystem is the top-level composition factory — reach for it when you want
“everything a user would expect in a shell.” It wraps the individual presets
via mergeExtensions in this order:
coreutils, grep, sed, gawk, diffutils,
findutils, curl, jq, procps, utilLinux,
bcCalc, jsRepl, nsTools, shell,
initSystem, pkgManager. It also seeds DEFAULT_ENV and
registers /lib/interp/{js,sh} interpreter shebang targets.
For a minimal image, compose individual presets directly instead of using this factory.
Example
Section titled “Example”import { Unix, stdSystem } from '@fishnet/core'import { testRuntime } from '@fishnet/runtime'
const image = await Unix().use(stdSystem()).build()const sys = await testRuntime().boot(image)- Unix
- coreutils
- initSystem
- mergeExtensions
- pkgManager
- shell