Skip to content

Instantly share code, notes, and snippets.

How to install Node.js applications, if you're not a Node.js developer

While installing a Node.js application isn't difficult in principle, it may still be confusing if you're not used to how the Node.js ecosystem works. This post will tell you how to get the application going, what to expect, and what to do if it doesn't work.

Occasionally an application may have custom installation steps, such as installing special system-wide dependencies; in those cases, you'll want to have a look at the install documentation of the application itself as well. However, most of the time it's safe to assume that the instructions below will work fine.

If the application you want to install is available in your distribution's repositories, then install it through there instead and skip this entire guide; your distribution's package manager will take care of all the dependencies.

Checklist

@Snegovikufa
Snegovikufa / m2crypto_example.py
Last active December 8, 2021 14:33
m2crypto examle
# Since I ask this of people before using their code samples, anyone can
# use this under BSD.
import os
import M2Crypto
def empty_callback():
return
# Seed the random number generator with 1024 random bytes (8192 bits)
@dobe
dobe / kqueue based file mod listener
Created January 23, 2010 08:31
kqueue file watch w python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import select
from select import kqueue, kevent
class Watch(object):
SIZE_HINT = 50000