Installation
Get Idiomark up and running on your machine.
Prerequisites
- Node.js 20.0 or above
- pnpm, npm, or yarn
Install the CLI
Global Installation (Recommended)
Install the Idiomark CLI globally to use the idiomark command anywhere:
npm install -g @idiomark/cli
Verify installation:
idiomark --version
Project Installation
Install as a project dependency:
npm install @idiomark/cli
Then run with:
npx idiomark --version
Install the Core SDK
For programmatic usage, install the core package:
npm install @idiomark/core
Adapter Packages
Idiomark uses adapters to extract personality from different platforms. Install them as needed:
| Adapter | Package | Description |
|---|---|---|
@idiomark/adapter-twitter | Extract from tweets | |
| GitHub | @idiomark/adapter-github | Extract from issues, PRs, comments |
@idiomark/adapter-reddit | Extract from posts and comments | |
| Custom | See Adapters Guide | Build your own |
npm install @idiomark/adapter-twitter @idiomark/adapter-github
Next Steps
- Quick Start Guide - Your first personality extraction
- CLI Reference - All CLI commands
- SDK Guide - Programmatic usage
- Adapters - Building custom adapters
Troubleshooting
idiomark: command not found
- Make sure you installed globally:
npm install -g @idiomark/cli - Check your npm global bin directory is in your PATH
- Try
npx @idiomark/cli --versionto test without installation
Permission Errors
On Unix systems, you may need sudo for global installs:
sudo npm install -g @idiomark/cli
Or use a node version manager like nvm or fnm to avoid sudo.