{"id":50167,"date":"2026-02-06T08:16:32","date_gmt":"2026-02-06T08:16:32","guid":{"rendered":"https:\/\/www.carmatec.com\/?p=50167"},"modified":"2026-02-06T08:16:32","modified_gmt":"2026-02-06T08:16:32","slug":"hoe-nvm-installeren-op-macos-windows-en-linux","status":"publish","type":"post","link":"https:\/\/www.carmatec.com\/nl\/blog\/how-to-install-nvm-on-macos-windows-and-linux\/","title":{"rendered":"Hoe NVM installeren op macOS, Windows en Linux"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"50167\" class=\"elementor elementor-50167\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-01f1794 e-flex e-con-boxed e-con e-parent\" data-id=\"01f1794\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6c4e46e elementor-widget elementor-widget-text-editor\" data-id=\"6c4e46e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">Node Version Manager (NVM) is een essentieel hulpmiddel voor ontwikkelaars die met Node.js werken. Het stelt je in staat om meerdere versies van Node.js te installeren, beheren en wisselen. <\/span><a href=\"https:\/\/nodejs.org\/en\"><span style=\"font-weight: 400;\">Node.js<\/span><\/a><span style=\"font-weight: 400;\"> versies naadloos over verschillende projecten. Of je nu een beginner bent die zijn eerste ontwikkelomgeving opzet of een ervaren ontwikkelaar die meerdere Node.js-applicaties beheert, NVM vereenvoudigt versiebeheer en verhoogt de productiviteit.<\/span><\/p><p><span style=\"font-weight: 400;\">In deze gids leer je <\/span><b>Hoe installeer ik NVM op macOS, Windows en Linux?<\/b><span style=\"font-weight: 400;\">, samen met gebruikstips, advies voor probleemoplossing en best practices.<\/span><\/p><p><b>Inleiding tot NVM (Node Version Manager)<\/b><\/p><p><span style=\"font-weight: 400;\">NVM beheert <\/span><b>Node.js<\/b><span style=\"font-weight: 400;\"> versies per gebruiker in ge\u00efsoleerde mappen. Het ondersteunt project-specifieke versies via <\/span><span style=\"font-weight: 400;\"><code>.nvmrc<\/code><\/span><span style=\"font-weight: 400;\"> bestanden en houdt globale npm-pakketten apart per Node-versie.<\/span><\/p><p><b>Waarom NVM (Node Version Manager) gebruiken in 2026<\/b><\/p><p><b>Node.js<\/b><span style=\"font-weight: 400;\"> volgt een voorspelbaar releaseschema:<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Even genummerde versies worden <\/span><b>LTS<\/b><span style=\"font-weight: 400;\"> (Ondersteuning op lange termijn).<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Huidige <\/span><b>LTS<\/b><span style=\"font-weight: 400;\"> versies (februari 2026):<\/span><ul><li style=\"font-weight: 400;\" aria-level=\"2\"><b>Knooppunt 24<\/b><span style=\"font-weight: 400;\"> (Krypton) - Actief LTS (gestart in mei 2025; ondersteund tot ~april 2028).<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"2\"><b>Knooppunt 22<\/b><span style=\"font-weight: 400;\"> (Jod) - Onderhoud LTS (tot april 2026).<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"2\"><b>Knooppunt 20<\/b><span style=\"font-weight: 400;\"> (IJzer) - Onderhoud LTS (tot april 2026).<\/span><\/li><\/ul><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b>Knooppunt 25<\/b><span style=\"font-weight: 400;\"> - Huidig (niet-LTS; nieuwste functies vanaf januari 2026).<\/span><\/li><\/ul><p><span style=\"font-weight: 400;\">NVM helpt bij het onderhouden van oude projecten, het testen van nieuwe functies en het waarborgen van teamconsistentie.<\/span><\/p><h4><b>Overzicht NVM-implementaties<\/b><\/h4><table><tbody><tr><td><b>Platform<\/b><\/td><td><b>Naam gereedschap<\/b><\/td><td><b>Link naar archief<\/b><\/td><td><b>Laatste versie (feb 2026)<\/b><\/td><td><b>Type installatie<\/b><\/td><\/tr><tr><td><span style=\"font-weight: 400;\">macOS \/ Linux \/ WSL<\/span><\/td><td><span style=\"font-weight: 400;\">nvm-sh\/nvm<\/span><\/td><td><span style=\"font-weight: 400;\">github.com\/nvm-sh\/nvm<\/span><\/td><td><span style=\"font-weight: 400;\">v0.40.4 (29 jan. 2026)<\/span><\/td><td><span style=\"font-weight: 400;\">Shell-script<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400;\">Moedertaal Windows<\/span><\/td><td><span style=\"font-weight: 400;\">nvm-windows<\/span><\/td><td><span style=\"font-weight: 400;\">github.com\/coreybutler\/nvm-windows<\/span><\/td><td><span style=\"font-weight: 400;\">1.2.2 (31 december 2024)<\/span><\/td><td><span style=\"font-weight: 400;\">.exe-installatieprogramma<\/span><\/td><\/tr><\/tbody><\/table><p><span style=\"font-weight: 400;\">Gebruik nvm-sh\/nvm binnen <\/span><b>WSL<\/b><span style=\"font-weight: 400;\"> op Windows voor Unix-achtig gedrag.<\/span><\/p><h3><b>Voorwaarden voordat u NVM installeert<\/b><\/h3><p><span style=\"font-weight: 400;\">Voordat u NVM installeert, moet u ervoor zorgen dat u:<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Een terminal of opdrachtprompt<\/span><span style=\"font-weight: 400;\"><br \/><\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Basiskennis commandoregel<\/span><span style=\"font-weight: 400;\"><br \/><\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Administrator- of sudo-toegang (voor macOS en Linux)<\/span><span style=\"font-weight: 400;\"><br \/><\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Toegang tot PowerShell of opdrachtprompt (voor Windows)<\/span><\/li><\/ul><p><span style=\"font-weight: 400;\">Er is geen bestaande Node.js installatie nodig, maar NVM kan er indien nodig naast bestaan.<\/span><\/p><h3><b>Hoe NVM installeren op macOS<\/b><\/h3><p><span style=\"font-weight: 400;\">macOS-gebruikers kunnen NVM installeren met <\/span><b>krul<\/b><span style=\"font-weight: 400;\"> of <\/span><b>wget<\/b><span style=\"font-weight: 400;\">.<\/span><\/p><h4><b>Stap 1: Terminal openen<\/b><\/h4><p><span style=\"font-weight: 400;\">Je kunt Terminal openen vanuit <\/span><b>Toepassingen \u2192 Hulpprogramma's \u2192 Terminal<\/b><span style=\"font-weight: 400;\"> of door Spotlight Search te gebruiken.<\/span><\/p><h4><b>Stap 2: NVM installeren met curl<\/b><\/h4><p><span style=\"font-weight: 400;\">Voer het volgende commando uit:<\/span><\/p><pre><span style=\"font-weight: 400;\">curl -o-\nhttps:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.39.7\/install.sh<\/span><\/pre><p><span style=\"font-weight: 400;\">U kunt ook wget gebruiken:<\/span><\/p><pre><span style=\"font-weight: 400;\">wget -qO-\nhttps:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.39.7\/install.sh<\/span><\/pre><h4><b>Stap 3: NVM laden<\/b><\/h4><p><span style=\"font-weight: 400;\">Start na de installatie de terminal opnieuw op of voer deze uit:<\/span><\/p><h4><b>Stap 4: Controleer de installatie<\/b><\/h4><pre><span style=\"font-weight: 400;\">nvm --versie<\/span><\/pre><p><span style=\"font-weight: 400;\">Als er een versienummer verschijnt, is NVM met succes ge\u00efnstalleerd op macOS.<\/span><\/p><h3><b>NVM installeren op Linux<\/b><\/h3><p><span style=\"font-weight: 400;\">NVM installeren op Linux is vergelijkbaar met macOS en ondersteunt de meeste distributies, waaronder Ubuntu, Debian, Fedora en CentOS.<\/span><\/p><h4><b>Stap 1: Terminal openen<\/b><\/h4><p><span style=\"font-weight: 400;\">Gebruik je standaard terminalapplicatie.<\/span><\/p><h4><b>Stap 2: NVM installeren<\/b><\/h4><p><span style=\"font-weight: 400;\">Voer het volgende commando uit:<\/span><\/p><pre><span style=\"font-weight: 400;\">curl -o-\nhttps:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.39.7\/install.sh<\/span><\/pre><h4><b>Stap 3: Shell-configuratie bijwerken<\/b><\/h4><p><span style=\"font-weight: 400;\">Laad je shellconfiguratie opnieuw:<\/span><\/p><h4><b>Stap 4: Installatie bevestigen<\/b><\/h4><pre><span style=\"font-weight: 400;\">nvm --versie<\/span><\/pre><p><span style=\"font-weight: 400;\">NVM zou nu beschikbaar moeten zijn op uw Linux-systeem.<\/span><\/p><h3><b>NVM installeren op Windows<\/b><\/h3><p><span style=\"font-weight: 400;\">Windows gebruikt een aparte implementatie genaamd <\/span><b>nvm-windows<\/b><span style=\"font-weight: 400;\">, die vergelijkbare functionaliteit biedt.<\/span><\/p><h4><b>Stap 1: NVM downloaden voor Windows<\/b><\/h4><p><span style=\"font-weight: 400;\">Bezoek de offici\u00eble GitHub repository voor nvm-windows en download de nieuwste installer.<\/span><\/p><h4><b>Stap 2: Het installatieprogramma uitvoeren<\/b><\/h4><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Start de <\/span><span style=\"font-weight: 400;\"><code>.exe<\/code><\/span><span style=\"font-weight: 400;\"> bestand<\/span><span style=\"font-weight: 400;\"><br \/><\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Volg de installatiewizard<\/span><span style=\"font-weight: 400;\"><br \/><\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Kies installatie en Node.js mappen<\/span><\/li><\/ul><h4><b>Stap 3: Command prompt of PowerShell opnieuw starten<\/b><\/h4><p><span style=\"font-weight: 400;\">Start na de installatie je terminal opnieuw op.<\/span><\/p><h4><b>Stap 4: Controleer de installatie<\/b><\/h4><pre><span style=\"font-weight: 400;\">nvm versie<\/span><\/pre><p><span style=\"font-weight: 400;\">U zou de ge\u00efnstalleerde NVM-versie moeten zien.<\/span><\/p><h3><b>Node.js installeren met NVM<\/b><\/h3><p><span style=\"font-weight: 400;\">Zodra NVM is ge\u00efnstalleerd, is de installatie van Node.js eenvoudig.<\/span><\/p><h4><b>Installeer de nieuwste Node.js-versie<\/b><\/h4><p><span style=\"font-weight: 400;\"><code>nvm node installeren<\/code><\/span><\/p><h4><b>Een specifieke Node.js-versie installeren<\/b><\/h4><p><span style=\"font-weight: 400;\"><code>nvm 18.20.0 installeren<\/code><\/span><\/p><h4><b>Ge\u00efnstalleerde versies weergeven<\/b><\/h4><p><span style=\"font-weight: 400;\"><code>nvm ls<\/code><\/span><\/p><h4><b>Node.js-versies wisselen<\/b><\/h4><p><span style=\"font-weight: 400;\"><code>nvm gebruik 18.20.0<\/code><\/span><\/p><p><span style=\"font-weight: 400;\">NVM werkt npm automatisch bij voor elke Node.js-versie.<\/span><\/p><h3><b>Een standaard Node.js-versie instellen<\/b><\/h3><p><span style=\"font-weight: 400;\">Een standaard Node.js-versie instellen:<\/span><\/p><p><span style=\"font-weight: 400;\"><code>nvm alias standaard 18.20.0<\/code><\/span><\/p><p><span style=\"font-weight: 400;\">Dit zorgt ervoor dat de geselecteerde versie wordt gebruikt wanneer een nieuwe terminalsessie wordt gestart.<\/span><\/p><h3><b>NVM gebruiken per project<\/b><\/h3><p><span style=\"font-weight: 400;\">U kunt een <\/span><span style=\"font-weight: 400;\"><code>.nvmrc<\/code><\/span><span style=\"font-weight: 400;\"> bestand in je projectmap:<\/span><\/p><pre><span style=\"font-weight: 400;\">echo 18.20.0 &gt; .nvmrc\n<\/span><\/pre><p><span style=\"font-weight: 400;\">Ren dan:<\/span><\/p><p><span style=\"font-weight: 400;\"><code>nvm gebruiken<\/code><\/span><\/p><p><span style=\"font-weight: 400;\">Dit zorgt voor consistentie tussen teams en omgevingen.<\/span><\/p><h3><b>Veelgebruikte NVM-opdrachten spiekbriefje<\/b><\/h3><table><tbody><tr><td><b>Opdracht<\/b><\/td><td><b>Beschrijving<\/b><\/td><\/tr><tr><td><span style=\"font-weight: 400;\">nvm node installeren<\/span><\/td><td><span style=\"font-weight: 400;\">Installeer de nieuwste Node.js<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400;\">nvm installeren<\/span><\/td><td><span style=\"font-weight: 400;\">Installeer specifieke Node.js-versie<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400;\">nvm gebruik<\/span><\/td><td><span style=\"font-weight: 400;\">Node.js-versie wijzigen<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400;\">nvm ls<\/span><\/td><td><span style=\"font-weight: 400;\">Ge\u00efnstalleerde versies weergeven<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400;\">nvm ls-remote<\/span><\/td><td><span style=\"font-weight: 400;\">Lijst met beschikbare Node.js-versies<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400;\">nvm verwijderen<\/span><\/td><td><span style=\"font-weight: 400;\">Node.js-versie verwijderen<\/span><\/td><\/tr><\/tbody><\/table><h3><b>Veelvoorkomende NVM-problemen oplossen<\/b><\/h3><h4><b>NVM-commando niet gevonden<\/b><\/h4><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Zorg ervoor dat het shell-configuratiebestand de bron is<\/span><\/li><li aria-level=\"1\"><span style=\"font-weight: 400;\">Terminal opnieuw opstarten<\/span><\/li><\/ul><h4><b>Fouten met toestemming<\/b><\/h4><ul><li><span style=\"font-weight: 400;\">Vermijd het gebruik van <\/span><span style=\"font-weight: 400;\"><code>sudo<\/code><\/span><span style=\"font-weight: 400;\"> met NVM<\/span><span style=\"font-weight: 400;\"><br \/><\/span><\/li><li><span style=\"font-weight: 400;\">Zorg voor de juiste directory-eigendom<\/span><\/li><\/ul><h4><b>Windows pad problemen<\/b><\/h4><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Zorg ervoor dat er geen conflicterende Node.js-installaties bestaan<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Herstart het systeem indien nodig<\/span><\/li><\/ul><h3><b>Beste praktijken bij het gebruik van NVM<\/b><\/h3><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Gebruik <\/span><span style=\"font-weight: 400;\"><code>.nvmrc<\/code><\/span><span style=\"font-weight: 400;\"> bestanden voor teamconsistentie<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Vermijd globale npm-pakketten waar mogelijk<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Bewaar Node.js LTS-versies voor productie<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">NVM regelmatig bijwerken<\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Applicaties testen op meerdere Node-versies<\/span><\/li><\/ul><h3><b>Is NVM geschikt voor productieomgevingen?<\/b><\/h3><p><span style=\"font-weight: 400;\">NVM is voornamelijk ontworpen voor ontwikkelomgevingen. In productie wordt meestal de voorkeur gegeven aan containerisatietools zoals Docker of beheerde Node.js-omgevingen. NVM blijft echter van onschatbare waarde voor lokale ontwikkeling, testen en CI-pijplijnen.<\/span><\/p><h2><b>Conclusie<\/b><\/h2><p><span style=\"font-weight: 400;\">NVM installeren op macOS, Windows en Linux is een kritieke stap voor moderne Node.js ontwikkeling. Het biedt flexibiliteit, elimineert versieconflicten en stroomlijnt projectworkflows. Door NVM te beheersen, kunnen ontwikkelaars zich meer richten op het bouwen van robuuste applicaties in plaats van op het beheren van omgevingen.<\/span><\/p><p><span style=\"font-weight: 400;\">Voor bedrijven die schaalbare, krachtige Node.js-applicaties willen bouwen, <\/span><a href=\"https:\/\/www.carmatec.com\/nl\/\"><b>Carmatec<\/b><\/a><span style=\"font-weight: 400;\"> onderscheidt zich als een vertrouwde <\/span><a href=\"https:\/\/www.carmatec.com\/nl\/node-js-ontwikkelingsbedrijf\/\"><b>Node.js ontwikkelingsbedrijf<\/b><\/a><span style=\"font-weight: 400;\">. Met diepgaande expertise in bedrijfsoplossingen helpt Carmatec organisaties bij het ontwerpen, ontwikkelen en onderhouden van krachtige Node.js-applicaties. Of u nu een bestaand systeem wilt moderniseren of <\/span><a href=\"https:\/\/www.carmatec.com\/nl\/ontwikkelaars-inhuren\/nodejs-ontwikkelaar-huren\/\"><b>Node.js-ontwikkelaars inhuren<\/b><\/a><span style=\"font-weight: 400;\"> voor een nieuw project levert Carmatec betrouwbare, veilige oplossingen die klaar zijn voor de toekomst.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Node Version Manager (NVM) is an essential tool for developers working with Node.js. It allows you to install, manage, and switch between multiple Node.js versions seamlessly across different projects. Whether you\u2019re a beginner setting up your first development environment or an experienced developer handling multiple Node.js applications, NVM simplifies version control and boosts productivity. In [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":50390,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-50167","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/www.carmatec.com\/nl\/wp-json\/wp\/v2\/posts\/50167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.carmatec.com\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.carmatec.com\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.carmatec.com\/nl\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.carmatec.com\/nl\/wp-json\/wp\/v2\/comments?post=50167"}],"version-history":[{"count":104,"href":"https:\/\/www.carmatec.com\/nl\/wp-json\/wp\/v2\/posts\/50167\/revisions"}],"predecessor-version":[{"id":50391,"href":"https:\/\/www.carmatec.com\/nl\/wp-json\/wp\/v2\/posts\/50167\/revisions\/50391"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.carmatec.com\/nl\/wp-json\/wp\/v2\/media\/50390"}],"wp:attachment":[{"href":"https:\/\/www.carmatec.com\/nl\/wp-json\/wp\/v2\/media?parent=50167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.carmatec.com\/nl\/wp-json\/wp\/v2\/categories?post=50167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.carmatec.com\/nl\/wp-json\/wp\/v2\/tags?post=50167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}