1.0.1 • Published 8 months ago

bun-windows-via-docker v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Bun for Windows via Docker Desktop

A temporary solution for running Bun on Windows. In case you don't have WSL or don't want to use it.

Mainly for development purpose. Not recommended for production.

Installation

Required tools:

npm install bun-windows-via-docker -g

Usage

  1. Make sure Docker Desktop is running.
  2. Use like a regular Bun CLI, example:

    bun index.ts
  3. Since Bun needs to access your current directory, you have to click Share it.

    npm.io

Expose Ports

Since eventually Bun will be running inside a Docker container, you need to expose ports to access it. --windows-ports is a special argument for this.

    bun --windows-ports "3000,3001" index.ts
1.0.1

8 months ago

1.0.0

8 months ago