Skip to content

Commit

Permalink
doc: add note for windows users and symlinks
Browse files Browse the repository at this point in the history
PR-URL: #53117
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
  • Loading branch information
avivkeller authored and targos committed Jun 1, 2024
1 parent d711942 commit cf47384
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,15 @@ disk space.
git clone https://github.com/nodejs/node.git
cd node
```

> \[!TIP]
> If you are building from a Windows machine, symlinks are disabled by default, and can be enabled by cloning
> with the `-c core.symlinks=true` flag.
>
> ```powershell
> git clone -c core.symlinks=true <repository_url>
> ```
* If the path to your build directory contains a space or a non-ASCII character,
the build will likely fail
Expand Down

0 comments on commit cf47384

Please sign in to comment.