Skip to content

Commit 251581a

Browse files
authored
docs: update developer environment to setup project (angular#27643)
closes angular#27514 angular#27366
1 parent 3f35b12 commit 251581a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

DEV_ENVIRONMENT.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
1. Make sure you have both `node` and `yarn` installed.
33
We recommend using `nvm` to manage your node versions.
44
2. angular/components uses Bazel which requires certain Bash and UNIX tools.
5-
- On Windows: Follow the [instructions](https://docs.bazel.build/versions/master/install-windows.html#installing-compilers-and-language-runtimes)
5+
- On Windows: Follow the [instructions](https://bazel.build/install/windows#installing-compilers-and-language-runtimes)
66
to install [`MSYS2`](https://www.msys2.org/) and the listed "Common MSYS2 packages".
7-
Afterward add `C:\msys64\usr\bin` to the `PATH` environment variable.
7+
Afterwards create an environment variable `BAZEL_SH` and its value to be `C:\msys64\usr\bin\bash.exe`.
8+
Alternatively, you can also use [Chocolately](https://bazel.build/install/windows#chocolately) which will install latest available version of Bazel and its dependencies.
9+
- On Ubuntu: Make sure `gcc` is installed, you can check if `gcc` is installed on your machine by running `which gcc`, if the command returns a path then the compiler is installed, otherwise can be installed with `sudo apt-get install build-essential`.
810
3. Fork the `angular/components` repo on GitHub.
911
4. Clone your fork to your machine with `git clone`.
1012
Recommendation: name your git remotes `upstream` for `angular/components`

0 commit comments

Comments
 (0)