Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/packup/install.ts

📦 Zero-config web application packager in Deno
Go to Latest
File
import { ensureDir, NAME, VERSION } from "./deps.ts";import { installWasm, wasmCacheDir } from "./install_util.ts";
await ensureDir(wasmCacheDir());
await installWasm();
console.log(`Installing ${NAME} command`);const p = Deno.run({ cmd: [ Deno.execPath(), "install", "--unstable", "-qAf", `https://deno.land/x/${NAME}@${VERSION}/cli.ts`, ],});
Deno.exit((await p.status()).code);