Giter Site home page Giter Site logo

alfred-pkgman-workflow's Introduction

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.

/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

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

Alcatraz sample results Bower sample results Chef sample results CocoaPods sample results Composer sample results Docker sample results Grunt sample results Gulp sample results Hex sample results Homebrew sample results Maven sample results Metacran sample results NPM sample results PEAR sample results PyPi sample results RPMfind sample results Rubygems sample results Sublime Text sample results Yarn sample results Yo sample results

alfred-pkgman-workflow's People

Contributors

jeffbyrnes avatar willfarrell avatar varp avatar rodrigobdz avatar ajliv avatar emraher avatar josselinauguste avatar virusman avatar zabirauf avatar dyng avatar sb8244 avatar nickgal avatar michaellopez avatar yicone avatar jun6lee avatar joeyvandijk avatar ikedaosushi avatar guanguans avatar dearrrfish avatar kombucha avatar tavisto avatar stigkj avatar stevenschobert avatar rchl avatar bsdlp avatar jdx avatar jgarber623 avatar signorini avatar darfink avatar ddollar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.