簡體   English   中英

linux哪個版本支持nodejs上windows 7

[英]Which linux version supports node js on windows 7

我是 windows 7 用戶,想下載 npm 和 nodejs。 我曾嘗試在 windows 7 上安裝節點 js,但不受支持。 那么,有沒有linux版本可以在windows 7上下載並支持npm和nodejs? 或者,如果有人能告訴任何其他方式在我的電腦上下載 npm 和 nodejs。

而且,我無法升級我的操作系統。

I think you are a bit confused, Linux cannot be installed on Windows (there's the subsystem on Windows 10, but that's different), as Linux is a kernel that is usually paired with the GNU operating system, in practice, this means Linux is used作為操作系統,不能安裝在 Windows 上。

在您的計算機上安裝 Linux 將意味着刪除 Windows。

What you can do, if you can't uninstall Windows, is create a virtual machine running Debian (a popular Linux distribution) using VirtualBox, you'd need to get a Debian ISO and create a virtual machine with it.

安裝后,您可以在終端內運行sudo apt install npm nodejs來安裝 Node.js 和 npm。

您不必使用 Debian,我建議使用它是因為我個人喜歡將它用於服務器,但您可以使用 Ubuntu、Fedora、Manjaro 或任何其他發行版。

編輯:

我做了一些進一步的閱讀並找到了本教程,其中顯示了如何通過安裝 LTS 版本 13.14.0 在 Windows 7 上安裝 Node.js。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM