タイトル : node Ubuntu25.10を使ってみる 新GPUマシン
更新日 : 2026-03-12
カテゴリ : プログラミング
nodeは Voltaで入れることにしたので、Voltaで
node
$ curl https://get.volta.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10460 100 10460 0 0 28325 0 --:--:-- --:--:-- --:--:-- 28346
Installing latest version of Volta (2.0.2)
Checking for existing Volta installation
Fetching archive for Linux, version 2.0.2
######################################################################## 100.0%
Creating directory layout
Extracting Volta binaries and launchers
Finished installation. Updating user profile settings.
Updating your Volta directory. This may take a few moments...
success: Setup complete. Open a new terminal to start using Volta!
$
$ volta install node@v22.21.0
success: installed and set node@22.21.0 (with npm@10.9.4) as default
$以下のGatsby用にとりあえず v22 を入れておきます。
Gatsby
npm install -g gatsby-cli して、
あとは、バックアップから持ってきたフォルダのpackage.jsonにvolta指定が先に入っているので、npm installするだけ。
このページは、新GPUマシンで書いています。
