Unix
Call Signature
Section titled “Call Signature”Unix():
UnixBuilder
Defined in: packages/core/src/index.ts:41
Create an immutable Unix system builder.
Returns
Section titled “Returns”A fresh UnixBuilder with no extensions.
Remarks
Section titled “Remarks”The builder accumulates Extensions and produces a frozen UnixImage via .build(). Each method returns a new builder instance — the original is never modified.
Example
Section titled “Example”import { Unix, stdSystem } from '@fishnet/core'import { testRuntime } from '@fishnet/runtime'
const image = await Unix() .use(stdSystem()) .env('EDITOR', 'ed') .build()
const sys = await testRuntime().boot(image)Call Signature
Section titled “Call Signature”Unix(
config):UnixInstance
Defined in: packages/core/src/index.ts:49
Create a UnixInstance directly from a config bag.
Parameters
Section titled “Parameters”config
Section titled “config”Legacy configuration object with fs, bins, and env.
Returns
Section titled “Returns”A UnixInstance ready to boot.