Install
bash
bun add -g socifyrbash
pnpm add -g socifyrbash
npm install -g socifyrbash
yarn global add socifyrVerify:
bash
socifyr --versionConfiguration sources
Each setting is resolved in this order (first match wins):
- Environment variable
~/.config/socifyr/config.json(set bysocifyr configure)- Built-in default (production API URL)
| Setting | Env var | Config key |
|---|---|---|
| API key | SOCIFYR_API_KEY | apiKey |
| Workspace ID | SOCIFYR_WORKSPACE_ID | workspaceId |
| API URL | SOCIFYR_API_URL | apiUrl |
First post
bash
socifyr configure --key sk_... --workspace <workspaceId>
socifyr connections
socifyr post "Hello from CLI" --to linkedin-myhandleOutput formats
Every command supports --json for machine-readable output:
bash
socifyr connections --json | jq '.[].slug'Global flags
| Flag | Description |
|---|---|
--help, -h | Show help for a command |
--version | Show CLI version |
--json | Output as JSON (most commands) |
Help
bash
socifyr --help
socifyr post --help
socifyr media --help