# Node.js Version in GitLab?

**URL:** <https://forum.gitlab.com/t/node-js-version-in-gitlab/72254>\
**Category:** General\
**Created:** [July 12, 2022, 7:36am UTC](https://forum.gitlab.com/t/node-js-version-in-gitlab/72254 "2022-07-12T07:36:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HTWIMI](https://avatars.discourse-cdn.com/v4/letter/h/35a633/32.png) [@HTWIMI](https://forum.gitlab.com/u/HTWIMI)\
**Post date:** [July 12, 2022, 7:36am UTC](https://forum.gitlab.com/t/node-js-version-in-gitlab/72254/1 "2022-07-12T07:36:54Z")

</div>

Hi all,

today i’ve seen there are some [security issues with node.js](https://nodejs.org/en/blog/vulnerability/july-2022-security-releases/), and there are fixes available for node.js v18, v16 and v14.

So i checked the node version im my GitLab CE v14.10.5 and it says:

```auto
root@myGitLab:~# node --version
v15.14.0

```

I’ve read a bit about [node.js version numbers](https://nodejs.org/en/about/releases/), and that doc states that odd version numbers are unsopported after six month. So i suppose that security fixes are not back-ported to odd node.js versions after this period.

So i have two questions here:

- why does GitLab uses odd version numbers of node.js?
- will there be a security fix for GitLab or do i have to upgrade node.js by myself (i don’t really want to…)?

Thanks…

---

<div class="post-metadata">

**Author:** ![grove](https://sea2.discourse-cdn.com/gitlab/user_avatar/forum.gitlab.com/grove/32/4753_2.png) [@grove](https://forum.gitlab.com/u/grove)\
**Post date:** [July 12, 2022, 8:45am UTC](https://forum.gitlab.com/t/node-js-version-in-gitlab/72254/2 "2022-07-12T08:45:12Z")

</div>

Our GitLab(s) doesn’t have node.js installed and the debian packages of the omnibus installation doesn’t contain a binaryu called `node`, so I think that you see the a version you have installed yourself. A consequence is that you have to manage upgrade yourself.

---

<div class="post-metadata">

**Author:** ![HTWIMI](https://avatars.discourse-cdn.com/v4/letter/h/35a633/32.png) [@HTWIMI](https://forum.gitlab.com/u/HTWIMI)\
**Post date:** [July 12, 2022, 8:49am UTC](https://forum.gitlab.com/t/node-js-version-in-gitlab/72254/3 "2022-07-12T08:49:08Z")

</div>

Hm, i’m pretty sure no i haven’t installed node.js by myself. But anyway i’ll check my own docs…

---

<div class="post-metadata">

**Author:** ![gitlab-greg](https://sea2.discourse-cdn.com/gitlab/user_avatar/forum.gitlab.com/gitlab-greg/32/6933_2.png) [@gitlab-greg](https://forum.gitlab.com/u/gitlab-greg)\
**Post date:** [July 12, 2022, 9:49pm UTC](https://forum.gitlab.com/t/node-js-version-in-gitlab/72254/4 "2022-07-12T21:49:47Z")

</div>

Hi @HTWIMI

As @grove pointed out, GitLab does not ship Node.js with the GitLab product.

Binaries that are shipped with GitLab can be found in `/var/opt/gitlab/embedded/bin`, and all GitLab dependencies (and their version numbers) can be viewed in `/opt/gitlab/version-manifest.txt`.

You can find the location where `node` was installed by running `which node` on the system. If it’s living in `/usr/bin` or `/usr/local/bin`, this indicates nodejs was definitely installed separate from GitLab.

You can see if it was installed via package manager with `apt list --installed node*` or `yum list --installed | grep node`.

---

<div class="post-metadata">

**Author:** ![HTWIMI](https://avatars.discourse-cdn.com/v4/letter/h/35a633/32.png) [@HTWIMI](https://forum.gitlab.com/u/HTWIMI)\
**Post date:** [July 18, 2022, 10:21am UTC](https://forum.gitlab.com/t/node-js-version-in-gitlab/72254/5 "2022-07-18T10:21:10Z")

</div>

Hi @gitlab-greg, hi @grove

you’re both perfectly right, turned out my colleague and me misunderstood the docs when installing GitLab, that is we followed the requirement for an install from source and we then installed the Omnibus package 😉

Thanks for clarifications…
