Deno Install Locally Only

Silverbullet installed unintuitively; I thought it was local-first by design. Following the deno instructions, I had to add a “–global” flag that is not shown on silverbullet’s web pages. After that, a shell script was installed to $DENO_INSTALL_ROOT/bin. The script fetches silverbullet.js from the Internet every time it executes.

#!/bin/sh
# generated by deno install
exec deno run --allow-all --unstable-kv --unstable-worker-options --no-config 'https://get.silverbullet.md/' "$@"

How should I install silverbullet locally? I know how to move the js code file wherever I want, but am trying to work with deno and silverbullet as they are both designed. What is the “correct according to Hoyle” way to use a local copy of silverbullet.ts or .js under deno? Would I be better off with nodejs/npm than deno? Thank you!

This shouldn’t really be downloading from that URL every time. It does so the first time, then it keeps the script cached on disk. Are you sure it’s actually fetching it?

SilverBullet doesn’t run with node.js. It uses Deno-specific features.