[Discuss] node.js and npm on Debian?

2018-02-13 Thread Kent Borg
For work I need to mess with node.js, unfortunately. So I installed node.js:   apt-get install nodejs But I can't figure out how to install npm. When I search for installation instructions they all seem to want me to pipe a curl command into a sudo bash. Huh? That's scary as hell. Why is

Re: [Discuss] node.js and npm on Debian?

2018-02-13 Thread Steve Litt
On Tue, 13 Feb 2018 10:40:54 -0500 Dan Ritter wrote: > On Tue, Feb 13, 2018 at 10:23:09AM -0500, Kent Borg wrote: > > For work I need to mess with node.js, unfortunately. > > > > So I installed node.js: > > > >   apt-get install nodejs > > > > But I can't figure out how

Re: [Discuss] node.js and npm on Debian?

2018-02-13 Thread Mike Small
Dan Ritter writes: > On Tue, Feb 13, 2018 at 10:51:41AM -0800, Rich Braun wrote: >> Kent Borg asks: >> > But I can't figure out how to install npm. When I search for >> > installation instructions they all seem to want me to pipe a curl >> > command

Re: [Discuss] node.js and npm on Debian?

2018-02-13 Thread Rich Braun
Kent Borg asks: > But I can't figure out how to install npm. When I search for > installation instructions they all seem to want me to pipe a curl > command into a sudo bash. Huh? That's scary as hell. Let others do the installation for you: my go-to technology for this is

Re: [Discuss] node.js and npm on Debian?

2018-02-13 Thread Dan Ritter
On Tue, Feb 13, 2018 at 10:51:41AM -0800, Rich Braun wrote: > Kent Borg asks: > > But I can't figure out how to install npm. When I search for > > installation instructions they all seem to want me to pipe a curl > > command into a sudo bash. Huh? That's scary as hell. > > Let

Re: [Discuss] node.js and npm on Debian?

2018-02-13 Thread Mike Small
Mike Small writes: > Dan Ritter writes: > >> On Tue, Feb 13, 2018 at 10:51:41AM -0800, Rich Braun wrote: >>> Kent Borg asks: >>> > But I can't figure out how to install npm. When I search for >>> > installation instructions they all

Re: [Discuss] node.js and npm on Debian?

2018-02-13 Thread Rich Braun
Dan Ritter expresses doubts about containers: > And transfers those headaches to your security and ops teams. My earlier message wasn't about deployment, where security and operations are concerned, but about setting up a Docker dev environment on a laptop or desktop where one might once have

Re: [Discuss] node.js and npm on Debian?

2018-02-13 Thread Mike Small
Kent Borg writes: > [Warning, philosophical tangent.] > > The thing that strikes me is that it feels like we are doing something > fundamentally wrong if a sensible way to write "Hello, World!" (or > "Hello, I'm a GUI widget!") could possibly be: "Fire up a Linux > VM.". (Or a

Re: [Discuss] node.js and npm on Debian?

2018-02-13 Thread Kent Borg
[Warning, philosophical tangent.] The thing that strikes me is that it feels like we are doing something fundamentally wrong if a sensible way to write "Hello, World!" (or "Hello, I'm a GUI widget!") could possibly be: "Fire up a Linux VM.". (Or a Docker container...) I'm not saying the

Re: [Discuss] node.js and npm on Debian?

2018-02-13 Thread Richard Pieri
On 2/13/2018 4:35 PM, Kent Borg wrote: > The binary for a modern-day IRC-type program (Slack) is over 80MB. Sure, > the original IRC didn't have pictures. But 80MB!? I have an internet > radio program (Tunein Radio) that has an install of 65MB. Slack isn't a chat program. It's a web browser

Re: [Discuss] node.js and npm on Debian?

2018-02-13 Thread Rich Braun
Kent Borg observed: > ... it feels like we are doing something > fundamentally wrong if a sensible way to write "Hello, World!" (or > "Hello, I'm a GUI widget!") could possibly be: "Fire up a Linux > VM.". (Or a Docker container...) > ...(Slack) is over 80MB. (Tunein Radio)

Re: [Discuss] node.js and npm on Debian?

2018-02-13 Thread Dan Ritter
On Tue, Feb 13, 2018 at 04:35:54PM -0500, Kent Borg wrote: > The binary for a modern-day IRC-type program (Slack) is over 80MB. Sure, the > original IRC didn't have pictures. But 80MB!? I have an internet radio > program (Tunein Radio) that has an install of 65MB. Slack is a particular outlier,