# How to Update Node.js Version in Project IDX?

**URL:** <https://community.firebasestudio.dev/t/how-to-update-node-js-version-in-project-idx/1546>\
**Category:** General\
**Created:** [August 20, 2024, 4:52pm UTC](https://community.firebasestudio.dev/t/how-to-update-node-js-version-in-project-idx/1546 "2024-08-20T16:52:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![C\_David\_Moreno\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/c_david_moreno_r/32/972_2.png) [@C\_David\_Moreno\_R](https://community.firebasestudio.dev/u/C_David_Moreno_R)\
**Post date:** [August 20, 2024, 4:52pm UTC](https://community.firebasestudio.dev/t/how-to-update-node-js-version-in-project-idx/1546/1 "2024-08-20T16:52:31Z")

</div>

Hi everyone,

I’m trying to update the Node.js version for my project in Project IDX. I’ve seen that it’s possible to do this in local environments, but I haven’t found a way to do it within the platform.

Is there a way to update the Node.js version directly in Project IDX? Or perhaps there’s a recommended workaround to achieve this?

Any help or suggestions would be greatly appreciated!

Thanks

---

<div class="post-metadata">

**Author:** ![Srivats\_Venkataraman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/srivats_venkataraman/32/318_2.png) [@Srivats\_Venkataraman](https://community.firebasestudio.dev/u/Srivats_Venkataraman)\
**Post date:** [August 20, 2024, 7:52pm UTC](https://community.firebasestudio.dev/t/how-to-update-node-js-version-in-project-idx/1546/2 "2024-08-20T19:52:55Z")

</div>

You can update the dependency in the dev.nix file and rebuild the environment.

Here are the supported versions:  
[https://search.nixos.org/packages?channel=24.05&from=0&size=50&sort=relevance&type=packages&query=node](https://search.nixos.org/packages?channel=24.05&from=0&size=50&sort=relevance&type=packages&query=node)

---

<div class="post-metadata">

**Author:** ![C\_David\_Moreno\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/c_david_moreno_r/32/972_2.png) [@C\_David\_Moreno\_R](https://community.firebasestudio.dev/u/C_David_Moreno_R)\
**Post date:** [August 23, 2024, 12:02pm UTC](https://community.firebasestudio.dev/t/how-to-update-node-js-version-in-project-idx/1546/3 "2024-08-23T12:02:18Z")

</div>

Hi Srivats,

Thanks for your previous advice! I have a follow-up question regarding specifying Node.js versions.

Is it possible to specify minor versions directly in the `dev.nix` file? For example, could I use either of the following approaches?

Option 1:

{pkgs}: {  
channel = “stable-23.11”;  
packages = [  
pkgs.nodejs\_20.17.0  
];  
// Other configurations  
}

Option 2:

{pkgs}: {  
channel = “stable-23.11”;  
packages = [  
pkgs.nodejs\_20.17  
];  
// Other configurations  
}

If not, what would be the correct way to specify a specific minor version in Project IDX?

Thanks for your help!

Best regards,  
C. David

---

<div class="post-metadata">

**Author:** ![Srivats\_Venkataraman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/srivats_venkataraman/32/318_2.png) [@Srivats\_Venkataraman](https://community.firebasestudio.dev/u/Srivats_Venkataraman)\
**Post date:** [August 23, 2024, 12:46pm UTC](https://community.firebasestudio.dev/t/how-to-update-node-js-version-in-project-idx/1546/4 "2024-08-23T12:46:09Z")

</div>

Hi,  
So if you are able to find the minor version on nix then yes you can use it… If it’s not available on nix then it might not work…

Hope this helps
