deno

Whats the difference beetween deno install and deno compile?


If I do deno --help it shows:

What's the difference between these two commands?


Solution

  • Command Output Self contained 1 Deno runtime integrated 2 Deno 2.X 3
    compile binary y y y
    install script (shell / .bat) n n y
    bundle .js y n n
    1 self contained := includes local and remote dependencies / scripts, single file

    2 integrated := no separate runtime is needed

    3 Whether a feature is available in Deno 2.X