両方とも前のリビジョン 前のリビジョン | 次のリビジョン両方とも次のリビジョン |
javascript:yarn [2023/02/08 14:34] – [トラブルシューティング] ともやん | javascript:yarn [2024/03/04 05:16] – [node のインストール] ともやん |
---|
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
<b class=GRN>$</b> nodenv install 16.17.0 | <font color="#FF8700"><b>$</b></font> <font color="#4E9A06">nodenv</font> install 20.11.1 |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_result><html><pre> | <WRAP color_result><html><pre> |
Downloading node-v16.17.0-linux-x64.tar.gz... | Downloading node-v20.11.1-linux-x64.tar.gz... |
-> https://nodejs.org/dist/v16.17.0/node-v16.17.0-linux-x64.tar.gz | -> https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.gz |
Installing node-v16.17.0-linux-x64... | Installing node-v20.11.1-linux-x64... |
Installed node-v16.17.0-linux-x64 to /home/tomoyan/.anyenv/envs/nodenv/versions/16.17.0 | Installed node-v20.11.1-linux-x64 to /home/tomoyan/.anyenv/envs/nodenv/versions/20.11.1 |
</pre></html></WRAP> | </pre></html></WRAP> |
| |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
<b class=GRN>$</b> nodenv rehash | <font color="#FF8700"><b>$</b></font> <font color="#4E9A06">nodenv</font> rehash |
<b class=GRN>$</b> nodenv global 16.17.0 | <font color="#FF8700"><b>$</b></font> <font color="#4E9A06">nodenv</font> global 20.11.1 |
<b class=GRN>$</b> nodenv versions | <font color="#FF8700"><b>$</b></font> <font color="#4E9A06">nodenv</font> versions |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_result><html><pre> | <WRAP color_result><html><pre> |
* 16.17.0 (set by /home/tomoyan/.anyenv/envs/nodenv/version) | * 20.11.1 (set by /home/tomoyan/.anyenv/envs/nodenv/version) |
</pre></html></WRAP> | </pre></html></WRAP> |
| |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
<b class=GRN>$</b> node -v | <font color="#FF8700"><b>$</b></font> <font color="#4E9A06">node</font> <font color="#75507B">-v</font> |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_result><html><pre> | <WRAP color_result><html><pre> |
v16.17.0 | v20.11.1 |
</pre></html></WRAP> | </pre></html></WRAP> |
| |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
<b class=GRN>$</b> npm -v | <font color="#FF8700"><b>$</b></font> <font color="#4E9A06">npm</font> <font color="#75507B">-v</font> |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_result><html><pre> | <WRAP color_result><html><pre> |
8.15.0 | 10.2.4 |
</pre></html></WRAP> | </pre></html></WRAP> |
| |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
<b class=GRN>$</b> npm -g list | <font color="#FF8700"><b>$</b></font> <font color="#4E9A06">npx</font> <font color="#75507B">-v</font> |
</pre></html></WRAP> | </pre></html></WRAP> |
<WRAP color_result><html><pre> | <WRAP color_result><html><pre> |
/home/tomoyan/.anyenv/envs/nodenv/versions/16.17.0/lib | 10.2.4 |
├── corepack@0.12.1 | </pre></html></WRAP> |
└── npm@8.15.0 | |
| <WRAP color_command><html><pre> |
| <font color="#FF8700"><b>$</b></font> <font color="#4E9A06">npm</font> <font color="#75507B">-g</font><font color="#999999"> list</font> |
| </pre></html></WRAP> |
| <WRAP color_result><html> |
| <pre>/home/tomoyan/.anyenv/envs/nodenv/versions/20.11.1/lib |
| ├── corepack@0.23.0 |
| └── npm@10.2.4 |
</pre></html></WRAP> | </pre></html></WRAP> |
</WRAP> | </WRAP> |