Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Whats the difference beetween deno install and deno compile?

Tags:

deno

If I do deno --help it shows:

  • compile = Compile the script into a self-contained executable
  • install = Install script as an executable

What's the difference between these two commands?

like image 399
Blank Avatar asked Mar 01 '23 19:03

Blank


1 Answers

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

2 integrated := no separate runtime is needed

like image 116
bela53 Avatar answered Mar 24 '23 16:03

bela53