Skip to content

Install

bash
bun add -g socifyr
bash
pnpm add -g socifyr
bash
npm install -g socifyr
bash
yarn global add socifyr

Verify:

bash
socifyr --version

Configuration sources

Each setting is resolved in this order (first match wins):

  1. Environment variable
  2. ~/.config/socifyr/config.json (set by socifyr configure)
  3. Built-in default (production API URL)
SettingEnv varConfig key
API keySOCIFYR_API_KEYapiKey
Workspace IDSOCIFYR_WORKSPACE_IDworkspaceId
API URLSOCIFYR_API_URLapiUrl

First post

bash
socifyr configure --key sk_... --workspace <workspaceId>
socifyr connections
socifyr post "Hello from CLI" --to linkedin-myhandle

Output formats

Every command supports --json for machine-readable output:

bash
socifyr connections --json | jq '.[].slug'

Global flags

FlagDescription
--help, -hShow help for a command
--versionShow CLI version
--jsonOutput as JSON (most commands)

Help

bash
socifyr --help
socifyr post --help
socifyr media --help