angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Allow using Deno as package manager

Open csvn opened this issue 4 months ago • 3 comments

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.

csvn avatar Aug 18 '25 20:08 csvn

Deno also supports the npm_config_user_agent env variable, so it should be possible to automatically use it for installations with @angular/create.

csvn avatar Aug 18 '25 20:08 csvn

This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.

You can find more details about the feature request process in our documentation.

angular-robot[bot] avatar Aug 19 '25 13:08 angular-robot[bot]

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] avatar Sep 28 '25 13:09 angular-robot[bot]