Selaa lähdekoodia

docs: Getting started updates (#628)

Aris 4 vuotta sitten
vanhempi
sitoutus
8ecc286117
1 muutettua tiedostoa jossa 14 lisäystä ja 0 poistoa
  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        |