The foks binary
Thefoks binary is the main CLI for FOKS. When invoked as git-remote-foks (a symlink), it acts as a Git remote helper.
Most subcommands require the FOKS agent to be running (foks ctl start).
Global flags
| Flag | Description |
|---|---|
--json | Output in JSON format |
--config <path> | Path to config file (default: ~/.config/foks/config.json) |
--home <path> | FOKS home directory override |
Top-level commands
| Command | Description |
|---|---|
foks signup | Sign up for a new account |
foks ctl | Control the background agent |
foks agent | Run the agent directly |
foks git | Manage encrypted Git repositories |
foks kv | Key-value store |
foks team | Team management |
foks device | Device provisioning and management |
foks yubikey | YubiKey management |
foks passphrase | Passphrase management |
foks sso | SSO / OAuth2 login |
foks admin | Admin operations (web panel login) |
foks status | Show agent and account status |
foks ping | Ping the agent |
foks version | Print version information |
signup
foks.app), username, and invite code. Creates a new device key and registers it with the server. On servers configured with OAuth2 SSO, signup can be restricted to members of your organization and FOKS usernames are matched to your identity provider’s naming scheme.
Your resulting identity is a user@host pair, e.g. alice@foks.app.