Skip to content

Allow using Deno as package manager #30947

@csvn

Description

@csvn

Command

new

Description

Add deno as a package manager, such that it can be used during project creation or automatically used when it's lockfile is found.

ng new --package-manager=deno my-project

Deno Details

  • Add package command: deno add
  • Install all command: deno install
  • Lockfile file: deno.lock
  • Dev only flag: --dev (e.g. deno add --dev <package(s)>)

Deno seems to have the same commands as the other package manager options, and is similar to pnpm in that it installs packages with symlinks in node_modules.

Describe the solution you'd like

Deno works similar to bun as package manager.

Describe alternatives you've considered

None. If bun is supported, it seems reasonable to support deno too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions