Yuav Paub
- Download Node JS thiab khiav lub installer. Xaiv ib daim ntawv teev npe thiab cov khoom siv twg los nruab, ces xaiv Tom ntej.
- Thaum nws nug kom txhim kho cov cuab yeej rau Node JS, kos lub thawv rau Tau nruab cov cuab yeej tsim nyog.
-
Txhawm rau qhib lub qhov rais Node console, mus rau Start menu > Node.js.
Kab lus no piav qhia yuav ua li cas rau nruab Node JS ntawm Windows 11, 10, thiab 8.
Yuav ua li cas rau nruab Node JS ntawm Windows PCs
Txawm tias Node JS, zoo li ntau lub vev xaib, nyiam ua haujlwm yooj yim nrog Mac thiab Linux, qhov ntawd tsis tau txhais hais tias cov neeg siv Windows tau daig yam tsis muaj nws. Koj tseem tuaj yeem yooj yim tau txais Node JS khiav ntawm koj lub PC Windows.
-
Qhib koj tus browser, tom qab ntawd mus rau nplooj ntawv Node JS download.
- Xaiv lub Windows Installer, thiab pib koj download.
- Thaum lub download tiav, khiav lub installer.
-
Tus txheej txheem nruab yuav qhib thiab tos txais koj. Xaiv Next mus txuas ntxiv.
-
Tom ntej no, koj yuav raug nug kom lees txais Node JS daim ntawv tso cai. Nyeem thiab lees txais daim ntawv tso cai thiab xaiv Next kom txav mus.
-
Lub vijtsam tom ntej yuav hais kom koj xaiv cov npe kev teeb tsa rau Node JS. Qhov kev xaiv ua ntej hauv koj qhov Program Files directory yuav ua haujlwm feem ntau, tab sis yog tias koj xav tau qee yam kev cai, xaiv Hloov thiab mus rau qhov chaw koj nyiam. Thaum koj ua tiav, xaiv Next
-
Koj yuav muaj sijhawm los hloov Node JS teeb tsa thiab xaiv cov khoom uas koj nruab. Tshwj tsis yog tias koj xav tau qee yam kev cai, tso qhov no ib leeg, ces xaiv Tom ntej.
-
Tus installer yuav nug seb koj puas xav nruab cov cuab yeej los tsim cov qauv rau Node JS. Xaiv lub thawv rau Tau nruab cov cuab yeej tsim nyog, tom qab ntawd xaiv Next.
Vim Node feem ntau tsis yog npaj los khiav ntawm Windows, nws yog ib lub tswv yim zoo rau nruab cov qauv no rau qhov zoo tshaj plaws ua tau zoo sib xws tam sim no, tsis yog yuav tsum rov qab mus tom qab thiab sau qhov khoob.
-
Nrog rau kev teeb tsa tiav, koj yuav raug nthuav tawm nrog kev xaiv los pib lub installation. Xaiv Install pib.
-
Lub installation yuav khiav. Nws yuav tsum tsuas yog siv ob peb vib nas this kom dhau mus. Thaum nws ua tiav, koj yuav pom cov lus ua tiav qhia rau koj paub tias Node JS tau teeb tsa. Xaiv Finish kom ua tiav qhov kev teeb tsa.
- Ib kab hais kom ua qhov rais tam sim no yuav tshwm sim thiab hais kom koj nruab cov modules ntxiv. Nias ib qho yuam sij los pib.
-
Ib lub qhov rais PowerShell yuav pib pib lub installation. Paub meej txhua yam uas nws nug. Cov txheej txheem no yuav nruab ob peb lub hauv paus thiab cov qauv los ntawm ntau qhov chaw, yog li nws yuav siv sij hawm me ntsis.
- Thaum kawg, kev teeb tsa yuav ua tiav thiab lub qhov rais PowerShell yuav kaw. Koj tau npaj ua haujlwm nrog Node.
-
Qhib Start menu, scroll thiab xaiv lub Node.js nplaub tshev txhawm rau nthuav cov nkag, ces xaiv Node.js.
-
A Node console window yuav qhib. Ntawm no koj tuaj yeem sim tawm Node. Koj tuaj yeem ntaus txhua yam JavaScript code hauv console, thiab Node yuav khiav nws. Nws yog qhov yooj yim tshaj plaws los sim nrog:
console.log("ib yam");
- Nyob li ntawd! Koj npaj tau pib tsim nrog Node JS ntawm koj lub PC Windows.
Dab tsi yog Node JS
Node JS yog lub vev xaib nrov heev uas tso cai rau koj khiav JavaScript, uas twb yog cov lus mus rau hauv lub vev xaib, nyob tom qab kawg ntawm koj lub vev xaib. Node JS yog qhov muaj zog thiab nws khiav nrawm dua li lwm yam lus nrov server-sab sau ntawv. Nws kuj ua rau cov neeg tsim khoom siv ib hom lus rau ob qho tib si hauv ntej thiab tom qab kawg ntawm lawv qhov chaw.