Skip to main content

Installation

Get Idiomark up and running on your machine.


Prerequisites​

  • Node.js 20.0 or above
  • pnpm, npm, or yarn

Install the CLI​

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:

AdapterPackageDescription
Twitter@idiomark/adapter-twitterExtract from tweets
GitHub@idiomark/adapter-githubExtract from issues, PRs, comments
Reddit@idiomark/adapter-redditExtract from posts and comments
CustomSee Adapters GuideBuild your own
npm install @idiomark/adapter-twitter @idiomark/adapter-github

Next Steps​


Troubleshooting​

idiomark: command not found​

  1. Make sure you installed globally: npm install -g @idiomark/cli
  2. Check your npm global bin directory is in your PATH
  3. Try npx @idiomark/cli --version to 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.