Install bun: curl -fsSL https://bun.sh/install | bash yarn // works (node >= 18) node main.mjs // does not work (as of bun v1.0.6) bun main.mjs