diff options
-rw-r--r-- | website/manual.md | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/website/manual.md b/website/manual.md index 1ae44c763..4e8f9fe16 100644 --- a/website/manual.md +++ b/website/manual.md @@ -129,19 +129,25 @@ deno run https://deno.land/welcome.ts ### Build from source -Clone on Unix/MacOs +Clone on Linux or Mac: ```bash -# Fetch deps. git clone --recurse-submodules https://github.com/denoland/deno.git ``` -Clone on Windows (with Admin privileges) +On Windows, a couple extra steps are required to clone because we use symlinks +in the repository. First +[enable "Developer Mode"](https://www.google.com/search?q=windows+enable+developer+mode) +(otherwise symlinks would require administrator privileges). Then you must set +`core.symlinks=true` before the checkout is started. ```bash -git clone -c core.symlinks=true --recurse-submodules https://github.com/denoland/deno.git +git config --global core.symlinks=true +git clone --recurse-submodules https://github.com/denoland/deno.git ``` +Now we can start the build: + ```bash cd deno ./tools/setup.py |