Skip to content
pubscout

derry

1.5.0, released 4 years ago by frenco.dev

A script manager to define and run shortcut scripts inside your pubspec.yaml file.

$ flutter pub add derry
Source repository

What it does

Derry allows Dart and Flutter developers to define shortcut scripts inside pubspec.yaml or a separate yaml file. It saves developers from typing long commands by offering clean shorthand execution, pre and post scripts, and nested script references.

AI-written summary of version 1.5.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to manage and shorten long build or test command lines in your Dart/Flutter projects
  • You need pre and post hook executions around your build or publish steps

Skip it when

  • You are looking for a state management or UI widget library

Strengths

  • Reduces repetitive typing of long command lines
  • Supports nested scripts, pre/post scripts, and script references

Weaknesses

  • Relies on FFI and platform-specific shells (cmd on Windows, bash on Linux/Mac)

Setup

Kind
FFI (native library)
Effort
Low
Code generation
Yes (build_runner)
Direct dependencies
10

Install derry as a global dependency via dart pub global activate derry, and define scripts in your pubspec.yaml.

scripts:
  build: dart run build_runner build --delete-conflicting-outputs

Alternatives

Packages that do the same job and could replace derry.

  • rps

    Run and manage scripts defined in pubspec.yaml or rps.yaml from the command line

  • flutter_automation

    Provides command line automation scripts to help setup aspects of a Flutter project.

Works with

Packages commonly used together with derry: ones it builds on, ones built on it, and its own family.