Blank
Blank

Reputation: 823

Whats the difference beetween deno install and deno compile?

If I do deno --help it shows:

What's the difference between these two commands?

Upvotes: 7

Views: 862

Answers (1)

bela53
bela53

Reputation: 3485

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

Upvotes: 11

Related Questions