Skip to content

Instantly share code, notes, and snippets.

@MarkTiedemann
Created July 11, 2022 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarkTiedemann/41ff8e1da6fd419ca897b4a62d0ac6e1 to your computer and use it in GitHub Desktop.
Save MarkTiedemann/41ff8e1da6fd419ca897b4a62d0ac6e1 to your computer and use it in GitHub Desktop.
@echo off
if not exist bun (
curl -LO https://github.com/oven-sh/bun/releases/download/bun-v0.1.2/bun-linux-x64.zip
tar xf bun-linux-x64.zip
move bun-linux-x64\bun bun
rd bun-linux-x64
del bun-linux-x64.zip
)
if not exist bun.d.ts (
curl -Lo bun.d.ts https://raw.githubusercontent.com/oven-sh/bun/bun-v0.1.2/packages/bun-types/types.d.ts
)
wsl ./bun %*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment