First Time Setup

Configure your server address and authentication token.

Initialize Configuration

Run the interactive setup wizard:

bash
drip config init

You will be prompted to enter:

  1. Server address - Your Drip server URL (e.g., tunnel.example.com:443)
  2. Authentication token - The secret token configured on your server

Configuration File

Settings are saved to ~/.drip/config.yaml:

yaml
server: tunnel.example.com:443
token: your-secret-token-here
tls: true

Manual Configuration

Set server address:

bash
drip config set --server tunnel.example.com:443

Set authentication token:

bash
drip config set --token YOUR_SECRET_TOKEN

View Configuration

Show current settings (token is masked):

bash
drip config show

Show full configuration including token:

bash
drip config show --full

Validate Configuration

Check if your configuration is valid:

bash
drip config validate

This validates:

  • Server address format (host:port)
  • Token presence
  • TLS settings

Reset Configuration

Delete configuration file and start fresh:

bash
drip config reset

Skip confirmation prompt:

bash
drip config reset --force

Override Configuration

You can override configuration for a single command using flags:

bash
drip http 3000 --server other-server.com:443 --token OTHER_TOKEN

These flags take precedence over the config file.