captainbuckketsC
Denoβ€’3y agoβ€’
4 replies
captainbuckkets

Installing a deno script

I have a deno script that I've written that takes a single arg. I want to install it so that I can call "tricky" in the same way I call "deno". I did

deno install -A -n tricky .\main.js

and it said installed successfully but when I try to call it from the command line like "tricky <script-path>" it says its not recognized

Was referencing this to achieve this https://docs.deno.com/runtime/manual/tools/script_installer#:~:text=Deno%20provides%20deno%20install%20to,CLI%20flags%20and%20main%20module.
Deno provides deno install to easily install and distribute executable code.
Script Installer | Deno Docs
Was this page helpful?