dart_frog icon indicating copy to clipboard operation
dart_frog copied to clipboard

feat: add ability to install dart_frog_cli from different package managers

Open jorgecoca opened this issue 3 years ago • 3 comments

Description

In order to make the tool more accessible for non-Dart developers, it'd be interesting to have the ability to install dart_frog_cli from different package managers, like Homebrew or Chocolatey.

Requirements

  • [x] Install using dart pub global
  • [ ] Install using brew
  • [ ] Install using chocolatey
  • [ ] Install using apt (Ubuntu)

Additional Context

If extra context is needed, we can see how mason already supports this: https://github.com/felangel/mason/tree/master/packages/mason_cli#installation

jorgecoca avatar Jul 02 '22 06:07 jorgecoca

i'd also recommend npm why not you know :""

SPiercer avatar Aug 29 '22 04:08 SPiercer

@felangel @jorgecoca i've created a debian installer you can find it in my fork https://github.com/SPiercer/dart_frog/raw/main/packages/dart_frog_cli/target/dart_frog_0.1.1-1_amd64.deb

along side with an apt repo but it needs your signing and hosting of course. i tested it with localhost and an example signing key and everything working fine

SPiercer avatar Sep 04 '22 11:09 SPiercer

Just for my understanding what would be the advantage of supporting all of these different package managers?

Dart Frog requires Dart to be installed and dart pub global activate dart_frog_cli is universally supported.

felangel avatar Sep 04 '22 12:09 felangel

Closing this for now since I don't think there's any benefit given Dart Frog is designed specifically for the Dart ecosystem. Feel free to comment with any additional context and I'm happy to continue the conversation.

felangel avatar Oct 18 '22 22:10 felangel