{"id":13551763,"url":"https://github.com/rbcprolabs/dpm","last_synced_at":"2025-10-23T02:01:54.845Z","repository":{"id":56828178,"uuid":"198387293","full_name":"rbcprolabs/dpm","owner":"rbcprolabs","description":"📦 Dart Package Manager","archived":false,"fork":false,"pushed_at":"2019-09-27T16:34:28.000Z","size":1449,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-16T03:26:57.629Z","etag":null,"topics":["dart","dpm","flutter","package-manager","pub"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/dpm","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rbcprolabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-23T08:31:29.000Z","updated_at":"2022-02-13T02:01:30.000Z","dependencies_parsed_at":"2022-08-28T21:10:34.198Z","dependency_job_id":null,"html_url":"https://github.com/rbcprolabs/dpm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbcprolabs%2Fdpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbcprolabs%2Fdpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbcprolabs%2Fdpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbcprolabs%2Fdpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rbcprolabs","download_url":"https://codeload.github.com/rbcprolabs/dpm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246925356,"owners_count":20855876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","dpm","flutter","package-manager","pub"],"created_at":"2024-08-01T12:01:53.368Z","updated_at":"2025-10-23T02:01:49.782Z","avatar_url":"https://github.com/rbcprolabs.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/rbcprolabs/dpm/master/media/hero.png\" alt=\"Logo\" width=\"100%\" /\u003e\n\n\u003ch2\u003e\n  \u003cp align=\"center\"\u003e\n    Run commands upon installing \u0026 upgrades packages, powerful package management with CLI. \u003cb\u003eFlutter\u003c/b\u003e compatible!\n  \u003c/p\u003e\n\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pub.dartlang.org/packages/dpm\"\u003e\n    \u003cimg src=\"https://img.shields.io/pub/v/dpm.svg\"\n         alt=\"Pub\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#how-to-use\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#how-to-use\"\u003eHow to use\u003c/a\u003e •\n  \u003ca href=\"#available-commands\"\u003eAvailable Commands\u003c/a\u003e\n\u003c/p\u003e\n\n# Features\n\n- Lightweight\n- Productive development\n- Fast!\n\n# How to use\n```bash\n$ pub global activate dpm\n```\n\nTo use packages that integrate with `dpm`, you should run\n`dpm get` instead of `pub get`.\nThen, all installed packages will have their `get` dpm run.\n\nAlso replace `pub upgrade` with `dpm upgrade`. This will run `get`\ndpm as well.\n\nYou can run `dpm link` to link executables into `.dpm_bin`.\n\n# Running your own scripts\nIt is very likely that you want to run your own scripts during\ndevelopment, or upon package installation. To do so, edit your\n`pubspec.yaml` as follows:\n\n```yaml\nname: foo\n# ...\nscripts:\n  build: gcc -o foo src/foo.cc\n  post_get:\n    - dart_gyp configure\n    - dart_gyp build\n  post_upgrade: echo \":)\"\n```\n\nInstalled dev dependencies with executables will automatically be\nfilled in to the `PATH` during script execution.\n\nThen, in your project root, you can run:\n```bash\n$ dpm build\n```\n\n# Available Commands\n* [add](#add)\n* [remove](#remove)\n* [get](#get)\n* [init](#init)\n* [upgrade](#upgrade)\n\n## Add\nCan be used to install dependencies without having to search\nthe Pub directory for the current version.\n\n```bash\n# Install the newest version, and apply caret syntax\n$ dpm add my-package\n\n# Install a specific version\n$ dpm add my-package@^1.0.0\n$ dpm add my-package@0.0.4+25\n$ dpm add \"my-package@\u003e=2.0.0 \u003c3.0.0\"\n\n# Install a Git dependency\n$ dpm add my-package@git://path/to/repo.git\n\n# Specify a commit or ref\n$ dpm add my-package@git://path/to/repo.git#bleeding-edge\n\n# Install a local package\n$ dpm add my-package@path:/Users/john/Source/Dart/pkg\n\n# Install multiple packages\n$ dpm add my-package my-other-package yet-another-package\n\n# Install to dev_dependencies\n$ dpm add --dev http test my-package@git://repo#dev\n\n# Preview `pubspec.yaml`, without actually installing dependencies,\n# or modifying the file.\n$ dpm add --dry-run my-experimental-package\n```\n\n## Remove\nCan be used to remove dependencies without need go to file.\n\n```bash\n# Remove specific package \n$ dpm remove my-package \n\n# Remove multiple packages\n$ dpm remove my-package my-other-package\n```\n## Get\nThis script simply runs `pub get`.\n\n## init\nEssentially an `npm init` for Dart. This command will\nrun you through a series of prompts, after which a `pubspec.yaml`\nwill be generated for you.\n\n## Upgrade\nThis script simply runs `pub upgrade`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbcprolabs%2Fdpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frbcprolabs%2Fdpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbcprolabs%2Fdpm/lists"}