Skip to content

Instantly share code, notes, and snippets.

@rometsch
Created September 23, 2020 13:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rometsch/1e4490b77f3efcf702d70b9914c84769 to your computer and use it in GitHub Desktop.
Save rometsch/1e4490b77f3efcf702d70b9914c84769 to your computer and use it in GitHub Desktop.
ncdu - clone, compile, install
#!/usr/bin/env bash
TMPDIR=$(mktemp -d)
cd $TMPDIR
git clone git://g.blicky.net/ncdu.git/
cd ncdu
autoreconf -i
./configure --prefix=$HOME/.local
make
make install
cd ~
rm -rf $TMPDIR
@so-maker
Copy link

npm install

@rometsch
Copy link
Author

npm install

Thanks for the suggestion. Unfortunately node.js is not available on the computers I usually use so I really need to compile from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment