Kaynağa Gözat

brew: make a common page for macOS, Linux and Windows (#5693)

Nicolas Kosinski 3 yıl önce
ebeveyn
işleme
b4744ecf21
3 değiştirilmiş dosya ile 36 ekleme ve 71 silme
  1. 36 0
      pages/common/brew.md
  2. 0 35
      pages/linux/brew.md
  3. 0 36
      pages/osx/brew.md

+ 36 - 0
pages/common/brew.md

@@ -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`

+ 0 - 35
pages/linux/brew.md

@@ -1,35 +0,0 @@
-# brew
-
-> The Homebrew package manager for Linux.
-
-- Search for available formulas:
-
-`brew search {{text}}`
-
-- Install the latest stable version of a formula (use `--devel` for development versions):
-
-`brew install {{formula}}`
-
-- List all installed formulae:
-
-`brew list`
-
-- Upgrade an installed formula (if no formula name is given, all installed formulae are upgraded):
-
-`brew upgrade {{formula}}`
-
-- Fetch the newest version of Linuxbrew and of all formulae from GitHub:
-
-`brew update`
-
-- Show formulae that have a more recent version available:
-
-`brew outdated`
-
-- Display information about a formula (version, installation path, dependencies, etc.):
-
-`brew info {{formula}}`
-
-- Check the local Linuxbrew installation for potential problems:
-
-`brew doctor`

+ 0 - 36
pages/osx/brew.md

@@ -1,36 +0,0 @@
-# brew
-
-> Package manager for macOS.
-> More information: <https://brew.sh>.
-
-- Search for available formulae and casks:
-
-`brew search {{text}}`
-
-- Install the latest stable version of a formula (use `--devel` for development versions):
-
-`brew install {{formula}}`
-
-- List all installed formulae:
-
-`brew list`
-
-- List installed formulae that are not dependencies of another installed formula:
-
-`brew leaves`
-
-- Upgrade an installed formula (if no formula name is given, all installed formulae are upgraded):
-
-`brew upgrade {{formula}}`
-
-- Fetch the newest version of Homebrew and of all formulae from GitHub:
-
-`brew update`
-
-- Display information about a formula (version, installation path, dependencies, etc.):
-
-`brew info {{formula}}`
-
-- Check the local Homebrew installation for potential problems:
-
-`brew doctor`