# CLI Proxy Support

A proxy can be configured by running the config set command with the `-l` or the `--proxy_url` flags.

## Syntax Example

{% tabs %}
{% tab title="Bash" %}

```bash
pf9ctl config set [flags]
```

{% endtab %}
{% endtabs %}

## All Available Commands and Flags

{% tabs %}
{% tab title="Bash" %}

```bash
/pf9ctl config set --help
Create a new config that can be used to query Platform9 controller

Usage:
  pf9ctl config set [flags]

Flags:
  -u, --account_url string   sets account_url
  -h, --help                 help for set
      --mfa string           set MFA token
  -p, --password string      sets password (use 'single quotes' to pass password)
  -l, --proxy_url string     sets proxy URL, can be specified as [<protocol>][<username>:<password>@]<host>:<port>
  -r, --region string        sets region
  -t, --tenant string        sets tenant
  -e, --username string      sets username

Global Flags:
      --no-prompt   disable all user prompts
      --verbose     print verbose logs
```

{% endtab %}
{% endtabs %}

## Command Examples

{% tabs %}
{% tab title="Bash" %}

```bash
/pf9ctl config set --proxy_url string [<protocol>][<username>:<password>@]<host>:<port>
```

{% endtab %}
{% endtabs %}
