mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-19 13:41:21 +08:00
doc: update homebrew.md
. 531c01d62e
This commit is contained in:
@ -76,7 +76,11 @@
|
||||
|
||||
|
||||
|
||||
<table><thead><tr><th align="left">命令</th><th align="left">说明</th></tr></thead><tbody><tr><td align="left"><code>brew install git</code></td><td align="left"><code>安装</code>一个包</td></tr><tr><td align="left"><code>brew uninstall git</code></td><td align="left"><code>删除</code>/<code>卸载</code>软件包</td></tr></tbody></table>
|
||||
|
||||
|
||||
|
||||
|
||||
<table><thead><tr><th align="left">命令</th><th align="left">说明</th></tr></thead><tbody><tr><td align="left"><code>brew install git</code></td><td align="left"><code>安装</code>一个包</td></tr><tr><td align="left"><code>brew reinstall git</code></td><td align="left">重新<code>安装</code>一个包</td></tr><tr><td align="left"><code>brew uninstall git</code></td><td align="left"><code>删除</code>/<code>卸载</code>软件包</td></tr></tbody></table>
|
||||
|
||||
|
||||
|
||||
@ -102,25 +106,13 @@
|
||||
|
||||
|
||||
|
||||
<table><thead><tr><th align="left"><code>brew switch git 2.5.0</code></th><th align="left">更改版本</th></tr></thead></table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<table><thead><tr><th align="left"><code>brew list --versions git</code></th><th align="left">看看你有什么版本</th></tr></thead><tbody><tr><td align="left"><code>brew help</code></td><td align="left">打印帮助信息</td></tr><tr><td align="left"><code>brew help <sub-command></code></td><td align="left">打印子命令的帮助信息</td></tr></tbody></table>
|
||||
<table><thead><tr><th align="left"><code>brew switch git 2.5.0</code></th><th align="left">更改版本</th></tr></thead><tbody><tr><td align="left"><code>brew list --versions git</code></td><td align="left">看看你有什么版本</td></tr></tbody></table>
|
||||
</div></div></div><div class="wrap"><div class="wrap-header h3wrap"><h3 id="更多包命令"><a aria-hidden="true" tabindex="-1" href="#更多包命令"><span class="icon icon-link"></span></a>更多包命令</h3><div class="wrap-body">
|
||||
|
||||
|
||||
@ -243,6 +235,25 @@
|
||||
</span><span class="code-line"><span class="token comment"># 显示有关软件包的信息</span>
|
||||
</span><span class="code-line">$ brew info <span class="token operator"><</span>formula<span class="token operator">></span>
|
||||
</span></code></pre>
|
||||
</div></div></div><div class="wrap"><div class="wrap-header h3wrap"><h3 id="帮助命令"><a aria-hidden="true" tabindex="-1" href="#帮助命令"><span class="icon icon-link"></span></a>帮助命令</h3><div class="wrap-body">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<table><thead><tr><th align="left">命令</th><th align="left">说明</th></tr></thead><tbody><tr><td align="left"><code>brew help</code></td><td align="left">打印帮助信息</td></tr><tr><td align="left"><code>brew help <sub-command></code></td><td align="left">打印子命令的帮助信息</td></tr></tbody></table>
|
||||
</div></div></div></div></div><div class="wrap"><div class="wrap-header h2wrap"><h2 id="另见"><a aria-hidden="true" tabindex="-1" href="#另见"><span class="icon icon-link"></span></a>另见</h2><div class="wrap-body">
|
||||
<ul>
|
||||
<li><a href="https://brew.sh/index_zh-cn">Homebrew 官网</a> <em>(brew.sh)</em></li>
|
||||
|
Reference in New Issue
Block a user