---
title: "Bun v1.0.24"
description: "Bun v1.0.24 introduces Bun Shell, an experimental embedded shell language and interpreter for running cross-platform shell scripts from JavaScript and TypeScript via the $ template tag, with interop for fetch responses, files and line-by-line output."
url: "https://swe.quest/articles/bun-v1-0-24-b6bb723c8a51261e"
canonical: "https://bun.com/blog/bun-v1.0.24"
source: "Bun"
published: "2024-01-20"
difficulty: "medium"
kind: "Release"
reading_minutes: 3
tags: ["javascript","runtimes"]
---

# Bun v1.0.24

A post on [Bun](https://swe.quest/sources/bun.md), published 2024-01-20, 3 min read, Release. Original: [https://bun.com/blog/bun-v1.0.24](https://bun.com/blog/bun-v1.0.24)

## Summary

Bun v1.0.24 introduces Bun Shell, an experimental embedded shell language and interpreter for running cross-platform shell scripts from JavaScript and TypeScript via the $ template tag, with interop for fetch responses, files and line-by-line output. The release also fixes 9 bugs, mostly Node.js compatibility issues. Sockets no longer close on timeout. perf\_hooks.eventLoopUtilization is now defined so Hapi works. process.exit had been rejecting integer exit codes that JavaScriptCore stores as doubles, which broke Prisma CLI. Other fixes cover bun install bin linking with dangling symlinks, path.parse edge cases and a recursive console.log hang.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)

## Prerequisites

- Node.js APIs ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))

## Keywords

Bun, Bun Shell, Node.js, JavaScriptCore, Hapi, Prisma

## Related posts

- [The Bun Shell](https://swe.quest/articles/the-bun-shell-fb66d4232f0f9f2a.md): Bun · 2024-01-20 · Medium · 4 min read · JavaScript, Developer tools, Runtimes & VMs
  Bun Shell is an experimental embedded shell language and interpreter in Bun (v1.0.24+) that runs cross-platform shell scripts from JavaScript and TypeScript via the \`$\` tagged template.
- [Bun v1.0.32](https://swe.quest/articles/bun-v1-0-32-1109f83c2797523f.md): Bun · 2024-03-17 · Medium · 4 min read · JavaScript, Runtimes & VMs, Debugging
  Bun v1.0.32 fixes 13 bugs, several of them regressions from the I/O rewrite in v1.0.31 done in preparation for Windows support. bun install could hang in GitHub Actions because the active lifecycle-script counter was never decremented. --frozen-lockfile and --production still installed packages, and Bun Shell hung on && and || because a file descriptor was left open.
- [Bun v1.0.30](https://swe.quest/articles/bun-v1-0-30-809370fb784e3d50.md): Bun · 2024-03-04 · Medium · 7 min read · JavaScript, Runtimes & VMs, Testing, Debugging
  Bun v1.0.30 fixes 27 bugs, including an 8x performance regression in Bun.serve() when a direct ReadableStream writes exactly one chunk in a single event-loop tick, introduced in v1.0.4.
- [Bun v1.0.31](https://swe.quest/articles/bun-v1-0-31-9173b12d836487e8.md): Bun · 2024-03-14 · Medium · 10 min read · JavaScript, Runtimes & VMs, Supply chain security, Linux
  Bun v1.0.31 adds \`bun --print\` (Node-compatible eval with top-level await, TypeScript and JSX), running code from stdin via \`bun run -\`, \`bun add --trust\` plus \`bun pm untrusted\`/\`trust\` for managing blocked postinstall scripts, and \`fetch()\`/\`node:http\` support for Unix and Linux abstract domain sockets.
- [Bun v1.0.12](https://swe.quest/articles/bun-v1-0-12-7e77f90bbca6622e.md): Bun · 2023-11-16 · Medium · 12 min read · JavaScript, Runtimes & VMs, Testing, Developer tools
  Bun v1.0.12 fixes 24 bugs and adds \`bun -e\` for evaluating inline scripts (with TypeScript, JSX and top-level await), \`--env-file\` for choosing which .env files to load, \`server.url\`, \`import.meta.env\`, and \`expect.unreachable()\` in bun:test.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
