Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

alfred-pkgman-workflow

> 编程语言
Open source

Package Manager Search

701 stars0 likes0 views
WebsiteGitHub

About

Package Manager Search

Package Managers (Download latest release)

Package Repo Search

Quick package/plugin/component (repo) lookup for your favourite package managers.

Featured on Smashing Magazine in 2013.

PATH Variable

With macOS ≥12.3 Monterey no longer providing PHP, it's now a prerequisite to install your own. Simplest way to install it yourself is via brew install php.

If you don’t have Homebrew, you can install it via instructions on their homepage, brew.sh.

The PATH variable needs to capture not only where PHP is installed, but also where Bash is. Here are two variations:

  • Intel Macs: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
  • Apple Silicon Macs: /opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin

The workflow has this set as its default $PATH so it will work on either style of Mac.

bash
/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:${PATH}

Commands

Local Cache Management Commands

  • pkgman cleardb: Clear local database cache files
  • pkgman cachedb: Update local database cache files

Package Repository Search Commands

  • alcatraz {query}: Cocoa Packages
  • apt-get {query}: Ubuntu Packages
  • bower {query}: Bower Components for JavaScript
  • brew {query}: Homebrew Forumale/Cask
  • chef {query}: Chef Cookbooks
  • cocoa {query}: CocoaPods can be upgraded to CocoaDocs by changing $apple_docs to true in the script.
  • composer {query}: PHP Composer Packages
  • cordova {query}: Apache Cordova plugins
  • docker {query}: Docker Images
  • definitelytyped {query}: DefinitelyTyped TypeScript Definitions
  • gems {query}: Ruby Gems
  • gradle {query}: Java Gradle Packages
  • grunt {query}: Node.js task-runner Grunt Plugins
  • gulp {query}: Node.js task-runner Gulp Plugins
  • hackage {query}: Haskell package archive
  • hex {query}: Elixir Hex Packages
  • maven {query}: Java Maven Libraries
  • metacran {query}: R Packages
  • npm {query}: Node.js NPM Packages
  • nuget {query}: .Net NuGet Packages
  • pear {query}: PHP Pear Packages
  • puppet {query}: Puppet Modules
  • pypi {query}: Python Packages
  • raspbian {query}: Rasberry Pi Packages
  • rpm {query}: Red Hat Linux Packages
  • snap {query}: Snapcraft Packages
  • st {query}: Sublime Text Packages
  • yarn {query}: Yarn Packages
  • yo {query}: Yeoman Generators

Action Modifiers

  • default: open README page url
  • cmd: copy name/id to frontmost app
  • shift: copy config file name/id and version to frontmost app

Additional Notes

All workflows require an internet connection.

Workflows can break from time to time due to changes by the provider of the repo. If you notice a workflow stops working, please file an Issue.

All repos have caching enabled to speed up common queries. These caches are refreshed after 14 days and may take longer than expected to return results during update. You can force a cache refresh by running pkgman cachedb to re-download the databases (applies to alcatraz, grunt, cocoa). Alternatively you can run pkgman cleardb to remove all stored cache, but this isn't recommended. Clearing your cache is recommended after an update if the package manager you use had a bug previously.

The Python Package Index is very slow due to a lack on API and pagination. A min query length has been put in place to help speed this up. You can change it in the script, $min_query_length = 3. Perhaps someone with a python background can improve this.

Contribution

Please see CONTRIBUTING.md for details

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHP

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言