-- Leo's gemini proxy

-- Connecting to henn.es:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

hennes' npm cheatsheet


Install packages globally to ~/.local


npm config set prefix '~/.local/'

The config is stored in `~/.npmrc`. Executables are stored in `~/.local/bin`. Node modules are stored in `~/.local/lib/node_modules/`. Make sure `~/.local/bin` is part of `$PATH`.



Update npm and node with npm


npm install -g npm@latest
npm install -g node@lts

Updates to latest version of npm and latest LTS version of node.

-- Response ended

-- Page fetched on Sat May 18 05:37:48 2024