前提
nvm version 1.1.10
ユーザー環境変数:NVM_HOME;値:D:\nvm
ユーザー環境変数:NVM_SYMLINK;値:D:\nvm
システム環境変数:%NVM_HOME%、%NVM_SYMLINK%
nvm.exe実行ファイルと同じ階層に
nodejsのv16.19.0ファイル
nodejsのv18.13.0ファイル
nvm use v18.13.0コマンドを入力して実行すると
Now using node v18.13.0 (64-bit)と表示されました。
その後node -vと打ち込んでもnodeのバージョンが出てこないのですが何故でしょうか。
D:\nvm>nvm -v 1.1.10 D:\nvm>nvm install 16.19.0 Downloading node.js version 16.19.0 (64-bit)... Extracting node and npm... Complete npm v8.5.5 installed successfully. Installation complete. If you want to use this version, type nvm use 16.19.0 D:\nvm>nvm install 18.13.0 Downloading node.js version 18.13.0 (64-bit)... Extracting node and npm... Complete npm v8.5.5 installed successfully. Installation complete. If you want to use this version, type nvm use 18.13.0 D:\nvm>nvm use v18.13.0 Now using node v18.13.0 (64-bit) D:\nvm>nvm ls 18.13.0 16.19.0 D:\nvm>node -v 'node' は、内部コマンドまたは外部コマンド、 操作可能なプログラムまたはバッチ ファイルとして認識されていません。
試したこと
ここに問題に対して試したことを記載してください。
コマンドラインを管理者権限で実行。
nvm use v18.13.0 x64とコマンドを打ち込んだ。
nvm archコマンドで
System Default: 64-bit.
Currently Configured: -bit.
皆様ご教授宜しくお願い致します<(_ _)>
回答1件
あなたの回答
tips
プレビュー