Index of /xen/ubuntu/noble-nmu/vim92
About
---
coc.nvim needs a recent version of npm & nodejs (node>19):
Use the nvm installer in Noble.
The distro versions of npm & nodejs are too old and
will not support recent coc.nvim.
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
521 source ~/.bashrc
523 nvm --version
524 nvm install 20
525 cd prldev/
526 node -v
527 which node
530 nvm install --lts --latest-npm
531 npm version
532 vim
535 nano ~/.vim/coc-settings.json
536 sudo ls -al /usr/local/bin/
537 nano ~/.vim/coc-settings.json
539 sudo npm install -g perlnavigator-server
https://chriswiegman.com/2022/01/installing-node-lts-with-the-latest-npm-using-nvm/
$ which node
~/.nvm/versions/node/v20.20.2/bin/node
user@noble24:~$ node -v
v20.20.2
// never as root
$ npm version
{
npm: '10.8.2',
node: '20.20.2',
acorn: '8.16.0',
ada: '2.9.2',
ares: '1.34.6',
brotli: '1.1.0',
cjs_module_lexer: '2.2.0',
cldr: '48.0',
icu: '78.2',
llhttp: '9.3.1',
modules: '115',
napi: '9',
nghttp2: '1.61.0',
openssl: '3.0.19',
simdutf: '6.4.2',
tz: '2025c',
undici: '6.24.1',
unicode: '17.0',
uv: '1.46.0',
uvwasi: '0.0.23',
v8: '11.3.244.8-node.38',
zlib: '1.3.1-e00f703'
}