diff --git a/doc/docs.md b/doc/docs.md index cc21dbd864..5a22bf592c 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -20,18 +20,23 @@ The major way to get the latest and greatest V, is to __install it from source__ It is __easy__, and it usually takes __only a few seconds__. ### Linux, macOS, FreeBSD, etc: -You need `git`, a C compiler like `gcc` or `clang`, and `make`: +You need `git`, and a C compiler like `tcc`, `gcc` or `clang`, and `make`: ```bash -git clone https://github.com/vlang/v && cd v && make +git clone https://github.com/vlang/v +cd v +make ``` ### Windows: -You need `git`, and a C compiler like `gcc` or `msvc`: +You need `git`, and a C compiler like `tcc`, `gcc`, `clang` or `msvc`: ```bash git clone https://github.com/vlang/v cd v -make +make.bat -tcc ``` +NB: You can also pass one of `-gcc`, `-msvc`, `-clang` to `make.bat` instead, +if you do prefer to use a different C compiler, but -tcc is small, fast, and +easy to install (V will download a prebuilt binary automatically). ### Android Running V graphical apps on Android is also possible via [vab](https://github.com/vlang/vab).