- This command was added to
deno_std
asinstaller
and nowdeno install
is available. - Please use them instead of denoget.
- denoget installs executable deno script.
- Install executable script into ~/.deno/denoget/bin
- macOS
- Linux
denoget https://denopkg.com/syumai/deno-libs/denoinit/denoinit.ts
# now you can use installed command!
denoinit
- Deno
- wget
denoget can be installed by using itself.
deno -A https://deno.land/x/denoget/denoget.ts https://deno.land/x/denoget/denoget.ts
echo 'export PATH="$HOME/.deno/denoget/bin:$PATH"' >> ~/.bashrc # change this to your shell
- Add shebang to top of your deno script.
- This defines what permissions are needed.
#!/usr/bin/env deno --allow-read --allow-write --allow-env --allow-run
- Host script on the web.
- Install script using denoget.