瀏覽代碼

docs: Getting started updates (#628)

Aris 4 年之前
父節點
當前提交
8ecc286117
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      docs/src/getting-started/installation.md

+ 14 - 0
docs/src/getting-started/installation.md

@@ -52,6 +52,20 @@ npm install -g @project-serum/anchor
 Make sure your `NODE_PATH` is set properly so that globally installed modules
 can be resolved.
 
+Now verify the CLI is installed properly.
+
+```bash
+anchor --version
+```
+
+## Start a Project
+
+To initialize a new project, simply run:
+
+```bash
+anchor init <new-project-name>
+```
+
 ## Minimum version requirements
 
 | Build tool  | Version        |