Skip to content

Commit

Permalink
brew: make a common page for macOS, Linux and Windows (#5693)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokosi authored Apr 10, 2021
1 parent 00f46c3 commit b4744ec
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 71 deletions.
36 changes: 36 additions & 0 deletions pages/common/brew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# brew

> Package manager for macOS and Linux.
> More information: <https://brew.sh>.
- Install the latest stable version of a formula or cask (use `--devel` for development versions):

`brew install {{formula}}`

- List all installed formulae and casks:

`brew list`

- Upgrade an installed formula or cask (if none is given, all installed formulae/casks are upgraded):

`brew upgrade {{formula}}`

- Fetch the newest version of Homebrew and of all formulae and casks from the Homebrew source repository:

`brew update`

- Show formulae and casks that have a more recent version available:

`brew outdated`

- Search for available formulae (i.e. packages) and casks (i.e. native packages):

`brew search {{text}}`

- Display information about a formula or a cask (version, installation path, dependencies, etc.):

`brew info {{formula}}`

- Check the local Homebrew installation for potential problems:

`brew doctor`
35 changes: 0 additions & 35 deletions pages/linux/brew.md

This file was deleted.

36 changes: 0 additions & 36 deletions pages/osx/brew.md

This file was deleted.

0 comments on commit b4744ec

Please sign in to comment.