Cov txheej txheem:

NVM Linux yog dab tsi?
NVM Linux yog dab tsi?

Video: NVM Linux yog dab tsi?

Video: NVM Linux yog dab tsi?
Video: Install Node.js in Ubuntu 22.04 LTS 2024, Kaum ib hlis
Anonim

Node Version Manager ( NVM luv luv) yog ib qho yooj yim bash tsab ntawv los tswj ntau lub active node. js versions ntawm koj Linux qhov system. Nws tso cai rau koj los nruab ntau lub node. js versions, saib tag nrho cov versions muaj rau installation thiab tag nrho cov ntsia versions ntawm koj lub cev. Nvm kuj txhawb kev khiav ntawm ib qho ntawm qhov tshwj xeeb.

Kev sib raug zoo, NVM hais kom ua yog dab tsi?

Qhia nvm ua sawv cev rau Node Version Manager. Raws li lub npe qhia, nws pab koj tswj thiab hloov ntawm qhov sib txawv Node versions yooj yim. Nws muab ib lus txib -line interface qhov twg koj tuaj yeem nruab sib txawv versions nrog ib leeg lus txib , teeb lub neej ntawd, hloov ntawm lawv thiab ntau ntxiv.

Tsis tas li ntawd, NVM Ubuntu yog dab tsi? Qeb: Tutorials | Cim npe: node version manager, NodeJS, nvm ua , Ubuntu , Ubuntu 12.04, Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04 Nws. Lub Sijhawm Nyeem Ntawv: 2 feeb. Tus Node Version Manager ( NVM ). js ntawm ib qho system.

Ib yam li ntawd, kuv yuav siv NVM li cas?

Kev teeb tsa NVM

  1. Kauj ruam 1: Nruab NVM. Thawj kauj ruam yog qhov yooj yim tshaj plaws: tsuas yog nruab NVM nrog curl lossis wget hais kom ua hauv cov ntaub ntawv.
  2. Kauj ruam 1.5 Txheeb xyuas NVM hauv kab hais kom ua. Kaw koj lub davhlau ya nyob twg, qhib lub qhov rais tshiab thiab ntaus:
  3. Kauj Ruam 2: Ntxiv NVM Txoj Kev Qhia rau Koj Cov Plhaub Profile (thaum xav tau)

NVM thiab NPM yog dab tsi?

nvm ua ( Node Version Manager) yog ib lub cuab tam uas tso cai rau koj mus download tau thiab nruab Node . js. npm ( Node Package Manager) yog ib qho cuab yeej uas tso cai rau koj los nruab javascript pob. Xyuas yog tias koj muaj nws ntsia ntawm npm --version. npm los nrog Node.

Pom zoo: