반응형
nvm : Node Version Manager
여러 버전의 node 를 설치하고 사용할 버전을 선택할 수 있는 라이브러리 입니다
윈도우 OS 는 nvm-windows 버전을 다운받아서 설치 후 사용해야 합니다
nvm-windows 는 2018년 8월에 v.1.1.7 버전입니다
다운받아서 설치합니다
설치 후에는 nvm 이라는 명령어로 실행할 수 있습니다
# nvm
Running version 1.1.7.
Usage:
nvm arch : Show if node is running in 32 or 64 bit mode.
nvm install <version> [arch] : The version can be a node.js version or "latest" for the latest stable version.
Optionally specify whether to install the 32 or 64 bit version (defaults to system arch).
Set [arch] to "all" to install 32 AND 64 bit versions.
Add --insecure to the end of this command to bypass SSL validation of the remote download server.
nvm list [available] : List the node.js installations. Type "available" at the end to see what can be installed. Aliased as ls.
nvm on : Enable node.js version management.
nvm off : Disable node.js version management.
nvm proxy [url] : Set a proxy to use for downloads. Leave [url] blank to see the current proxy.
Set [url] to "none" to remove the proxy.
nvm node_mirror [url] : Set the node mirror. Defaults to https://nodejs.org/dist/. Leave [url] blank to use default url.
nvm npm_mirror [url] : Set the npm mirror. Defaults to https://github.com/npm/cli/archive/. Leave [url] blank to default url.
nvm uninstall <version> : The version must be a specific version.
nvm use [version] [arch] : Switch to use the specified version. Optionally specify 32/64bit architecture.
nvm use <arch> will continue using the selected version, but switch to 32/64 bit mode.
nvm root [path] : Set the directory where nvm should store different versions of node.js.
If <path> is not set, the current root will be displayed.
nvm version : Displays the current running version of nvm for Windows. Aliased as v.
Uploaded by N2T
반응형
'IT > Nodejs' 카테고리의 다른 글
npm ERR! code SELF_SIGNED_CERT_IN_CHAIN 에러 해결 방법 (0) | 2023.03.15 |
---|---|
사용자 친화적인 HTTP 설계 방법 (0) | 2022.09.22 |
Node.js 기본 정보 링크 (0) | 2022.09.20 |
node 환경변수 관리하는 방법 (0) | 2022.08.29 |
imgur access key 생성 방법 (0) | 2022.08.25 |
APP 리뷰 수집 서비스 (0) | 2022.08.23 |
RESTful API 에 JWT 를 활용하여 보안강화 하기 (0) | 2020.02.17 |
Nodejs LTS 버전 변경이 왜 이리 빠른거야 (0) | 2019.12.02 |