Vim/Neovim and Copilot: Part 2 install nodejs

part 2: install nodejs

This is simple, and you can follow this link

Key steps:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.bashrc
nvm list-remote

From the output version, pickup one which is > v18.X.X (required by Copilot)

nvm install v19.9.0

You can check whether it is installed by:

jimmy$ node -v
v19.9.0

--

--