Paperclip is not currently packaged in the official Gentoo Portage tree. The recommended installation method is via Node.js and npm/npx.
1. Install Node.js (if not already installed)
Verify:
Paperclip requires Node.js 20 or newer.
2. Enable Corepack and pnpm
3. Install and onboard Paperclip
The easiest method:
This command:
-
Downloads Paperclip
-
Creates
~/.paperclip/
-
Initializes the embedded PostgreSQL database
-
Starts the server on port 3100
4. Start Paperclip later
Then open:
5. Optional: Install the CLI globally
Instead of using npx every time:
Then you can run:
Verify installation
or, if using npx:
Since you've already installed tools like n8n, OpenCode, llama.cpp, and Ollama on your Gentoo system, your existing Node.js environment should already be suitable for installing Paperclip.