August 2019
Beginner
608 pages
16h 7m
English
GitLab uses Node.js to compile JavaScript, and Yarn is used for the dependency management of JavaScript components. Because these tools evolve quickly (there are regular new versions), you should really check the current requirements at https://about.gitlab.com/. As of April 2019, the supported version of Node.js should be ≥ 8.10.0, and Yarn should be ≥ v1.10.0.
Because the versions in the Linux distributions are typically behind, you should install from the source. The following code block shows how this is done:
$ curl --location https://deb.nodesource.com/setup_12.x | sudo bash - $ sudo apt-get install -y nodejs $ node -v v12.6.0 $ curl --silent --show-error https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - OK $ echo ...
Read now
Unlock full access