Skip to content

Instantly share code, notes, and snippets.

@tejasvi
Created June 19, 2020 22:32
Show Gist options
  • Save tejasvi/47ffa126126631710539c4d5465eb5c0 to your computer and use it in GitHub Desktop.
Save tejasvi/47ffa126126631710539c4d5465eb5c0 to your computer and use it in GitHub Desktop.
Install Trilium server on Termux
pkg install nodejs python build-essential --no-install-recommends -y
wget https://github.com/zadam/trilium/archive/stable.zip`
unzip stable.zip
cd trilium-stable
mv package-lock.json package-lock.json.bak
sed -i.bak '/electron/d' package.json
npm install pngquant-bin@5.0.2 --ignore-scripts
npm install
node src/www
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment