Shared run flags
run, dev, task, and x share a common set of grant and engine flags:
meow x is sandboxed by default; meow run/dev/task are trusted by
default. See Permissions for the grant model and the
MEOW_TRUST_ALL / MEOW_SANDBOX persistent switches.
meow init
Scaffold a new project in the current directory.
Writes
meow.config.json, a minimal package.json, and a starter main.ts; runs
meow sync; then meow install (unless --no-install).
meow run
Execute a file or apackage.json script.
Plus the shared run flags.
meow run is trusted by default;
--sandbox (or MEOW_SANDBOX=1) opts it into the sandbox.
meow dev
Shorthand formeow run dev, with a cold-start banner.
-- <args…>.
meow task
Run apackage.json script by name (explicit form, no file-path inference).
meow test
Discover and run the test suite in deterministic V8 isolates.*.test.* / *.spec.* file (.ts, .tsx, .js, .jsx, .mts,
.mjs, .cts, .cjs), each in its own hermetic isolate, and prints a pass/fail
summary. Exits non-zero if any test fails. Tests use the
meow:test API. See Testing.
meow x
Ephemeral package execution — install to a temp workspace, run, discard. Aliased asexecute, and reachable via the npx/bunx/meowx binary names.
meow x is sandboxed by default (network denied, writes confined to the cwd
- workspace, no subprocesses/native addons). Accepts the shared run flags — which
may also appear after the package name — so
--trustgrants full access andMEOW_TRUST_ALL=1does so persistently. Tools that need the network (e.g.create-next-app) require--trust.
eval & print
Run inline source without a file.Package commands
install, add, remove, search.