1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

doc: improve the "Getting started" section (#16910)

This commit is contained in:
Wertzui123 2023-01-09 07:37:17 +01:00 committed by GitHub
parent 90941b3b1f
commit 956b9f650c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,11 +35,12 @@ If V is already installed on a machine, it can be upgraded to its latest version
by using the V's built-in self-updater.
To do so, run the command `v up`.
## Getting start
In your terminal, you can:
1) `v init` -> create a new project in the current folder
2) `v new abc` -> create a new project in the new folder `abc`, by default a "hello world" project.
3) `v new abcd web` -> create a new project in the new folder `abcd`, using the vweb template.
## Getting started
You can let V automatically set up the bare-bones structure of a project for you
by using any of the following commands in a terminal:
* `v init` → adds necessary files to the current folder to make it a V project
* `v new abc` → creates a new project in the new folder `abc`, by default a "hello world" project.
* `v new abcd web` → creates a new project in the new folder `abcd`, using the vweb template.
## Table of Contents