UNPKG

@ziglang/cli

Version:

This package serves as a wrapper for the Zig compiler CLI itself. It checks if Zig is installed system-wide, and otherwise detects the current platform, fetches the corresponding Zig binary, and installs it locally in your `node_modules` folder. This will

11 lines (8 loc) 152 B
#!/usr/bin/env node import { uninstall } from './index.js'; try { await uninstall(); } catch (error) { console.error(error); process.exit(1); }