• Stars
    star
    149
  • Rank 248,619 (Top 5 %)
  • Language
    Ruby
  • License
    BSD 2-Clause "Sim...
  • Created over 9 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

โžก๏ธ Aliases for Homebrew

Homebrew Aliases

This tap allows you to alias your Homebrew commands.

Install

brew tap homebrew/aliases

Usage

This works similar to the alias command:

# add aliases
$ brew alias up='update'
$ brew alias i='install'

# print all aliases
$ brew alias

# print one alias
$ brew alias up

# use your aliases like any other command
$ brew i git

# remove an alias
$ brew unalias i

Note: Some commands are reserved and canโ€™t be aliased (Homebrew core commands as well as alias and unalias).

Additional Features

All aliases are prefixed with brew, unless they start with ! or %:

# 'brew up' -> 'brew update'
$ brew alias up=update

# 'brew status' -> 'git status'
$ brew alias status='!git status'

Note: You may need single-quotes to prevent your shell from interpreting !, but % will work for both types.

# Use shell expansion to preserve a local variable
# 'brew git status' -> '/path/to/my/git status'
$ mygit=/path/to/my/git
$ brew alias git="% $mygit"

Aliases can include other aliases:

$ brew alias show=info
$ brew alias print=show
$ brew print git # will run 'brew info git'

Aliases can be opened in $EDITOR with the --edit flag.

# Edit alias 'brew foo'
$ brew alias foo --edit
# Assign and edit alias 'brew foo'
$ brew alias foo=bar --edit

# This works too
$ brew alias --edit foo
$ brew alias --edit foo=bar

# Open all aliases in EDITOR
$ brew alias --edit

Note: If the named alias doesn't exist it will be created.

More Repositories

1

brew

๐Ÿบ The missing package manager for macOS (or Linux)
Ruby
40,651
star
2

legacy-homebrew

๐Ÿ’€ The former home of Homebrew/homebrew (deprecated)
26,993
star
3

homebrew-cask

๐Ÿป A CLI workflow for the administration of macOS applications distributed as binaries
Ruby
20,766
star
4

homebrew-core

๐Ÿป Default formulae for the missing package manager for macOS (or Linux)
Ruby
13,556
star
5

homebrew-bundle

๐Ÿ“ฆ Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store.
Ruby
5,276
star
6

homebrew-cask-fonts

๐Ÿ’€ Casks of ๏ผฆ๐Ÿ…พ๐“๐“๐š‚ (deprecated)
2,862
star
7

install

๐Ÿ“ฅ Homebrew (un)installer
Shell
2,142
star
8

homebrew-services

๐Ÿš€ Manage background services using the daemon manager launchctl on macOS or systemctl on Linux.
Ruby
1,983
star
9

formulae.brew.sh

๐ŸŽ An online formulae browser for Homebrew
HTML
1,463
star
10

homebrew-cask-versions

๐Ÿ’€ Alternate versions of Casks (deprecated)
1,182
star
11

linuxbrew-core

๐Ÿ’€Formerly the core formulae for the Homebrew package manager on Linux
Ruby
1,160
star
12

homebrew-cask-drivers

๐Ÿ’€ Casks of Drivers (deprecated)
459
star
13

homebrew-command-not-found

๐Ÿ” Ubuntuโ€™s command-not-found equivalent for Homebrew on macOS
Ruby
398
star
14

discussions

๐Ÿ—ฃ Public open-ended discussions. Replacement for our Discourse.
375
star
15

ruby-macho

๐Ÿ”ฉ A pure-Ruby library for parsing Mach-O files.
Ruby
241
star
16

brew.sh

๐Ÿ”– The Homebrew homepage
HTML
133
star
17

homebrew-portable-ruby

๐Ÿš— Versions of Ruby that can be installed and run from anywhere on the filesystem.
Ruby
129
star
18

actions

๐Ÿš€ Homebrew's GitHub Actions
JavaScript
118
star
19

homebrew-livecheck

๐Ÿ’€ Homebrew/homebrew-livecheck (deprecated)
96
star
20

homebrew-test-bot

๐ŸŽฐ Tests the full lifecycle of a Homebrew change.
Ruby
75
star
21

formula-patches

๐Ÿฅ Patches for Homebrew formulae
C
65
star
22

gsoc

๐Ÿ’€ Homebrew's Google Summer of Code (deprecated)
52
star
23

homebrew-linux-fonts

๐Ÿ–‹ Formula of ๏ผฆ๐Ÿ…พ๐“๐“๐š‚ (fork of Caskroom-fonts)
Ruby
48
star
24

.github

๐Ÿ‘ฉโ€โš•๏ธ Default community health files for the Homebrew organisation on GitHub.
33
star
25

rubydoc.brew.sh

๐Ÿ“– An online Ruby documentation browser for Homebrew/brew
Ruby
26
star
26

homebrew-linux-dev

๐Ÿ’€ Homebrew/homebrew-linux-dev (deprecated)
Ruby
20
star
27

homebrew-formula-analytics

๐Ÿ”ข Query Homebrew's analytics from the command-line.
Ruby
13
star
28

brew-pip-audit

๐Ÿ“‹ Bulk auditing Python dependencies in Homebrew with pip-audit
Ruby
11
star
29

homebrew-governance

๐Ÿ’€Homebrew's governance (deprecated)
10
star
30

glibc-bootstrap

๐Ÿฅพ Bootstrap binaries for compiling glibc from source
Shell
9
star
31

orka_api_client

๐Ÿ’Ž A Ruby gem for interfacing with MacStadium's Orka API
Ruby
5
star
32

ci-orchestrator

๐ŸŽป Manager of CI machine deployment and teardown (for internal Homebrew use)
Ruby
5
star