{"id":4528,"date":"2024-05-30T07:34:47","date_gmt":"2024-05-30T07:34:47","guid":{"rendered":"https:\/\/zinisoft.net\/?p=4528"},"modified":"2025-10-02T08:54:54","modified_gmt":"2025-10-02T08:54:54","slug":"how-to-install-node-js-16-on-windows","status":"publish","type":"post","link":"https:\/\/zinisoft.net\/vi\/how-to-install-node-js-16-on-windows\/","title":{"rendered":"H\u01b0\u1edbng D\u1eabn C\u00e0i \u0110\u1eb7t Node.js 16 Tr\u00ean Windows"},"content":{"rendered":"<p><strong>Node.js<\/strong> l\u00e0 m\u1ed9t m\u00f4i tr\u01b0\u1eddng ch\u1ea1y <strong>JavaScript<\/strong> m\u1ea1nh m\u1ebd, cho ph\u00e9p b\u1ea1n x\u00e2y d\u1ef1ng c\u00e1c \u1ee9ng d\u1ee5ng ph\u00eda m\u00e1y ch\u1ee7 (server-side). N\u1ebfu b\u1ea1n \u0111ang s\u1eed d\u1ee5ng h\u1ec7 \u0111i\u1ec1u h\u00e0nh <strong>Windows<\/strong>, h\u00e3y l\u00e0m theo h\u01b0\u1edbng d\u1eabn t\u1eebng b\u01b0\u1edbc n\u00e0y \u0111\u1ec3 c\u00e0i \u0111\u1eb7t <strong>Node.js 16<\/strong> tr\u00ean h\u1ec7 th\u1ed1ng c\u1ee7a m\u00ecnh.<\/p>\n<h2>Y\u00eau c\u1ea7u c\u1ea7n c\u00f3<\/h2>\n<p>Tr\u01b0\u1edbc khi b\u1eaft \u0111\u1ea7u, h\u00e3y \u0111\u1ea3m b\u1ea3o b\u1ea1n c\u00f3 nh\u1eefng \u0111i\u1ec1u sau:<\/p>\n<ul>\n<li>M\u1ed9t m\u00e1y t\u00ednh ch\u1ea1y h\u1ec7 \u0111i\u1ec1u h\u00e0nh <strong>Windows<\/strong> (Windows 7, 8, 10, ho\u1eb7c 11).<\/li>\n<li>Ki\u1ebfn th\u1ee9c c\u01a1 b\u1ea3n v\u1ec1 c\u00e1ch s\u1eed d\u1ee5ng c\u1eeda s\u1ed5 l\u1ec7nh <strong>Command Prompt<\/strong>.<\/li>\n<\/ul>\n<h3>B\u01b0\u1edbc 1: T\u1ea3i Tr\u00ecnh C\u00e0i \u0110\u1eb7t Node.js<\/h3>\n<ol>\n<li>Tru c\u1eadp trang web ch\u00ednh th\u1ee9c c\u1ee7a Node.js: <a href=\"https:\/\/nodejs.org\/en\" target=\"_blank\" rel=\"noopener\">Node.js Downloads<\/a>.<\/li>\n<li>T\u1ea3i xu\u1ed1ng tr\u00ecnh c\u00e0i \u0111\u1eb7t <strong>Node.js<\/strong> d\u00e0nh cho <strong>Windows<\/strong>.<\/li>\n<\/ol>\n<h3>B\u01b0\u1edbc 2: Ch\u1ea1y Tr\u00ecnh C\u00e0i \u0110\u1eb7t<\/h3>\n<ol>\n<li>Sau khi qu\u00e1 tr\u00ecnh t\u1ea3i xu\u1ed1ng ho\u00e0n t\u1ea5t, nh\u1ea5p \u0111\u00fap v\u00e0o t\u1ec7p tin \u0111\u00e3 t\u1ea3i \u0111\u1ec3 ch\u1ea1y tr\u00ecnh c\u00e0i \u0111\u1eb7t. Thao t\u00e1c n\u00e0y s\u1ebd m\u1edf <strong>Tr\u00ecnh h\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp Node.js<\/strong> (Node.js setup wizard).<\/li>\n<li>L\u00e0m theo c\u00e1c h\u01b0\u1edbng d\u1eabn tr\u00ean m\u00e0n h\u00ecnh \u0111\u1ec3 ch\u1ecdn th\u01b0 m\u1ee5c c\u00e0i \u0111\u1eb7t. Theo m\u1eb7c \u0111\u1ecbnh, t\u00ednh n\u0103ng qu\u1ea3n l\u00fd g\u00f3i <strong>npm<\/strong> (npm package manager) s\u1ebd \u0111\u01b0\u1ee3c bao g\u1ed3m c\u00f9ng v\u1edbi m\u00f4i tr\u01b0\u1eddng ch\u1ea1y <strong>Node.js<\/strong>.<\/li>\n<li>Ch\u1ea5p nh\u1eadn th\u1ecfa thu\u1eadn c\u1ea5p ph\u00e9p (license agreement) \u0111\u1ec3 ti\u1ebfp t\u1ee5c c\u00e0i \u0111\u1eb7t.<\/li>\n<\/ol>\n<h3>B\u01b0\u1edbc 3: Ki\u1ec3m Tra L\u1ea1i<\/h3>\n<ol>\n<li>M\u1edf c\u1eeda s\u1ed5 l\u1ec7nh <strong>Command Prompt<\/strong> (t\u00ecm ki\u1ebfm \u201ccmd\u201d trong menu Start).<\/li>\n<li>Nh\u1eadp c\u00e1c l\u1ec7nh sau \u0111\u1ec3 ki\u1ec3m tra xem <strong>Node.js<\/strong> v\u00e0 <strong>npm<\/strong> \u0111\u00e3 \u0111\u01b0\u1ee3c c\u00e0i \u0111\u1eb7t ch\u01b0a:<br \/>\n<blockquote style=\"background-color: #00008B;\"><p>node &#8211;version<br \/>\nnpm &#8211;version<\/p><\/blockquote>\n<p>\nN\u1ebfu th\u1ea5y c\u00e1c s\u1ed1 phi\u00ean b\u1ea3n \u0111\u01b0\u1ee3c hi\u1ec3n th\u1ecb, \u0111i\u1ec1u \u0111\u00f3 x\u00e1c nh\u1eadn r\u1eb1ng <strong>Node.js 16<\/strong> \u0111\u00e3 \u0111\u01b0\u1ee3c c\u00e0i \u0111\u1eb7t th\u00e0nh c\u00f4ng.<\/li>\n<\/ol>\n<h2>T\u1ed5ng K\u1ebft<\/h2>\n<p><strong>Xin ch\u00fac m\u1eebng!<\/strong> B\u1ea1n \u0111\u00e3 c\u00e0i \u0111\u1eb7t xong <strong>Node.js 16<\/strong> tr\u00ean m\u00e1y ch\u1ee7 Windows c\u1ee7a m\u00ecnh. B\u1ea1n \u0111\u00e3 s\u1eb5n s\u00e0ng \u0111\u1ec3 b\u1eaft \u0111\u1ea7u x\u00e2y d\u1ef1ng c\u00e1c \u1ee9ng d\u1ee5ng tuy\u1ec7t v\u1eddi. N\u1ebfu b\u1ea1n g\u1eb7p b\u1ea5t k\u1ef3 s\u1ef1 c\u1ed1 n\u00e0o ho\u1eb7c c\u1ea7n h\u1ed7 tr\u1ee3 th\u00eam, \u0111\u1eebng ng\u1ea7n ng\u1ea1i h\u1ecfi nh\u00e9!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MongoDB l\u00e0 m\u1ed9t h\u1ec7 qu\u1ea3n tr\u1ecb c\u01a1 s\u1edf d\u1eef li\u1ec7u NoSQL h\u01b0\u1edbng t\u00e0i li\u1ec7u (document-oriented) d\u1eabn \u0111\u1ea7u th\u1ecb tr\u01b0\u1eddng.<\/p>\n","protected":false},"author":1,"featured_media":4529,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[97],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/zinisoft.net\/vi\/wp-json\/wp\/v2\/posts\/4528"}],"collection":[{"href":"https:\/\/zinisoft.net\/vi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zinisoft.net\/vi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zinisoft.net\/vi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zinisoft.net\/vi\/wp-json\/wp\/v2\/comments?post=4528"}],"version-history":[{"count":7,"href":"https:\/\/zinisoft.net\/vi\/wp-json\/wp\/v2\/posts\/4528\/revisions"}],"predecessor-version":[{"id":4896,"href":"https:\/\/zinisoft.net\/vi\/wp-json\/wp\/v2\/posts\/4528\/revisions\/4896"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zinisoft.net\/vi\/wp-json\/wp\/v2\/media\/4529"}],"wp:attachment":[{"href":"https:\/\/zinisoft.net\/vi\/wp-json\/wp\/v2\/media?parent=4528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zinisoft.net\/vi\/wp-json\/wp\/v2\/categories?post=4528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zinisoft.net\/vi\/wp-json\/wp\/v2\/tags?post=4528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}