{"id":1027,"date":"2022-11-28T19:36:07","date_gmt":"2022-11-28T16:36:07","guid":{"rendered":"https:\/\/leodev.ru\/blog\/?p=1027"},"modified":"2022-11-28T19:38:58","modified_gmt":"2022-11-28T16:38:58","slug":"%d0%bc%d0%b5%d0%bd%d0%b5%d0%b4%d0%b6%d0%b5%d1%80-%d0%b2%d0%b5%d1%80%d1%81%d0%b8%d0%b9-node-js-%d0%b8-npm","status":"publish","type":"post","link":"https:\/\/leodev.ru\/blog\/node-js\/%d0%bc%d0%b5%d0%bd%d0%b5%d0%b4%d0%b6%d0%b5%d1%80-%d0%b2%d0%b5%d1%80%d1%81%d0%b8%d0%b9-node-js-%d0%b8-npm\/","title":{"rendered":"\u041c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0439 Node.js \u0438 NPM \u0434\u043b\u044f windows"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u041d\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u043d\u0438\u0437\u0438\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u044e <strong>nodeJS<\/strong>. <br>\u0421\u0442\u043e\u044f\u043b Node.JS 18.12.1 &#8212; \u043d\u043e <strong>JHipster<\/strong> \u0445\u043e\u0447\u0435\u0442 16 \u0432\u0435\u0440\u0441\u0438\u044e &#8212; \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 <strong>NVM<\/strong> &#8212; \u041c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0439 Node.js \u0438 NPM. \u041d\u043e \u0432 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0438 \u043e\u043d \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434 Linux \u0438 Mac. \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0434 Windows 10 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c &nbsp;<strong>nvm-windows<\/strong> \u043f\u043e\u0445\u043e\u0436 \u043d\u0430 <strong>NVM<\/strong>, \u043d\u043e \u043d\u0435 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u0435\u043d \u0435\u043c\u0443. <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e\u0442 \u043f\u0435\u0440\u0435\u0434 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 <strong>node <\/strong>\u0438 <strong>yarn<\/strong>.<\/p>\n<\/blockquote>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 NVM \u043d\u0430 Windows<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0441\u043b\u0438 \u0440\u0430\u043d\u0435\u0435 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u043b\u0438 -\u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c <a href=\"https:\/\/github.com\/coreybutler\/nvm-windows#installation--upgrades\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">nvm-windows<\/a> \u0438 \u0441\u0442\u0430\u0432\u0438\u043c, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0438\u0437 \u043f\u043e\u0434 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nvm -v<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Node.JS \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e NVM<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0432\u0435\u0440\u0441\u0438\u0438 Node \u0434\u043b\u044f \u0432\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u200b\u200b\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f NPM. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c NPM \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043e\u0434\u0438\u043d \u0438\u0437 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nvm install latest<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>nvm install lts<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>nvm install 16.18.1<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0439 NodeJS \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e NVM<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0435\u0440\u0441\u0438\u0439 Node, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u0441 Windows<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>nvm list<\/code><\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0427\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e Node, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e<\/p>\n\n\n\n<pre id=\"block-37b91de1-a0f0-487e-a43b-85d82a258dd7\" class=\"wp-block-code\"><code>nvm use latest<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u044e \u0441 \u0434\u043e\u043b\u0433\u043e\u0441\u0440\u043e\u0447\u043d\u043e\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439<\/p>\n\n\n\n<pre id=\"block-37b91de1-a0f0-487e-a43b-85d82a258dd7\" class=\"wp-block-code\"><code>nvm use lts<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u0443\u044e \u0434\u0440\u0443\u0433\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438, \u0433\u0434\u0435 <strong>version-number<\/strong> &#8212; \u043d\u043e\u043c\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0439 <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nvm use <strong>version-number<\/strong><\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 Node.JS<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code><code>nvm list<\/code><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u043d\u0438\u0437\u0438\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u044e nodeJS.<br \/>\n\u0421\u0442\u043e\u044f\u043b Node.JS 18.12.1 &#8212; \u043d\u043e JHipster \u0445\u043e\u0447\u0435\u0442 16 \u0432\u0435\u0440\u0441\u0438\u044e &#8212; \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 NVM &#8212; \u041c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0439 Node.js \u0438 NPM. \u041d\u043e \u0432 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0438 \u043e\u043d \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434 Linux \u0438 Mac. \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0434 Windows 10 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c  nvm-windows \u043f\u043e\u0445\u043e\u0436 \u043d\u0430 NVM, \u043d\u043e \u043d\u0435 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u0435\u043d \u0435\u043c\u0443. <\/p>\n","protected":false},"author":1,"featured_media":1029,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[263],"tags":[264,265,267,266],"class_list":["post-1027","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-node-js","tag-node","tag-nodejs","tag-npm","tag-nvm"],"_links":{"self":[{"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/posts\/1027","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/comments?post=1027"}],"version-history":[{"count":5,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/posts\/1027\/revisions"}],"predecessor-version":[{"id":1033,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/posts\/1027\/revisions\/1033"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/media\/1029"}],"wp:attachment":[{"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/media?parent=1027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/categories?post=1027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leodev.ru\/blog\/wp-json\/wp\/v2\/tags?post=1027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}