Skip to main content

Quickstart

Get Sophic running locally in under five minutes.


1. Install the CLI

npm install -g usesophic

2. Authenticate

sophic login

This opens your browser to sign in with your Sophic account. After authenticating, you'll be prompted to select a workspace if you belong to more than one. Credentials are stored in ~/.sophic/config.json.

You can also pass a custom server URL if you're running Sophic locally:

sophic login --url http://localhost:3001

3. Capture knowledge

Send a text snippet directly from your terminal:

sophic capture "Redis failover: switch to replica-2, then promote via redis-cli"

You can also pipe content in:

pbpaste | sophic capture
echo "Deploy note: always run migrations before restarting workers" | sophic capture

4. Check your workspace

sophic workspace show

This displays your active workspace name, slug, and role.


What's next