## 教程 - 開始:安裝
安裝 [Mercurial](/wiki/Mercurial) 是簡單的。
* Linux, MacOS X, 和其它 Unix 的變體,參照 [UnixInstall](/wiki/UnixInstall) 目錄。
* 在 Windows 中,參照 [WindowsInstall](/wiki/WindowsInstall) 的說明.
你完成后回到這里。
**注:** 本教程假定你正在運行 [Mercurial](/wiki/Mercurial) 0.7 以上版本。換句話說,如果你有 0.6 版的,本教程不適用。本教程是為 [Mercurial](/wiki/Mercurial) 0.7 進行了升級。
[Mercurial](/wiki/Mercurial) 程序命名為 `hg`。每一個 [Mercurial](/wiki/Mercurial) 命令以 `hg` 開頭,后面跟命令名,然后是選項和參數。
目前 [Mercurial](/wiki/Mercurial) 已經安裝,我們應該可以在命令行上簡單鍵入 `hg`,程序應該顯示一些有用的命令匯總:
```
$ hg
Mercurial Distributed SCM
basic commands (use "hg help" for the full list or option "-v" for details):
add add the specified files on the next commit
annotate show changeset information per file line
clone make a copy of an existing repository
(...)
```
如果不是這樣的,你安裝的程序有問題,你應該看看 [InstallTroubleshooting](/wiki/InstallTroubleshooting)。
為了知道 Mercurial 是什么版本,請鍵入:
```
$ hg version
Mercurial Distributed SCM (version 0.7)
Copyright (C) 2005 Matt Mackall <mpm@selenic.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```
如果所有都運行地很好,讓我們繼續進入 [教程 - 克隆倉庫](/wiki/ChineseTutorialClone)。