---
title: influxd run
description: The influxd run command is the default influxd command and starts the influxd server.
url: https://docs.influxdata.com/influxdb/v2/reference/cli/influxd/run/
estimated_tokens: 1965
product: InfluxDB OSS v2
version: v2
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb/v2/reference/cli/influxd/run/
date: '2023-11-06T15:53:12-07:00'
lastmod: '2023-11-06T15:53:12-07:00'
---

This page documents an earlier version of InfluxDB OSS.[InfluxDB 3 Core](/influxdb3/core/) is the latest stable version.

#### API token hashing is enabled by default in InfluxDB OSS 2.9.0

Stronger token security: tokens are stored as hashes on disk, so a
copy of the database file doesn’t expose usable tokens. Existing
tokens are hashed on first startup and the original strings can’t
be recovered afterward — **capture any plaintext tokens you still
need before you upgrade**.

For more information, see [Token hashing](/influxdb/v2/admin/tokens/#token-hashing).

The `influxd run` command is the default command for `influxd`.
It starts and runs all the processes necessary for InfluxDB to function.

## Usage

```
influxd run [flags]
```

> [!Note]
> Because `run` is the default command for `influxd`, the following commands are the same:
> ```
> influxd
> influxd run
> ```

```bash
influxd
influxd run
```

> [!Note]
> For information about other available InfluxDB configuration methods, see[InfluxDB configuration options](/influxdb/v2/reference/config-options/).

## Flags

* [--assets-path](/influxdb/v2/reference/config-options/#assets-path)
* [--bolt-path](/influxdb/v2/reference/config-options/#bolt-path)
* [--e2e-testing](/influxdb/v2/reference/config-options/#e2e-testing)
* [--engine-path](/influxdb/v2/reference/config-options/#engine-path)
* [--feature-flags](/influxdb/v2/reference/config-options/#feature-flags)
* [--flux-log-enabled](/influxdb/v2/reference/config-options/#flux-log-enabled)
* [--hardening-enabled](/influxdb/v2/reference/config-options/#hardening-enabled)
* -h, --help
* [--http-bind-address](/influxdb/v2/reference/config-options/#http-bind-address)
* [--http-idle-timeout](/influxdb/v2/reference/config-options/#http-idle-timeout)
* [--http-read-header-timeout](/influxdb/v2/reference/config-options/#http-read-header-timeout)
* [--http-read-timeout](/influxdb/v2/reference/config-options/#http-read-timeout)
* [--http-write-timeout](/influxdb/v2/reference/config-options/#http-write-timeout)
* [--influxql-max-select-buckets](/influxdb/v2/reference/config-options/#influxql-max-select-buckets)
* [--influxql-max-select-point](/influxdb/v2/reference/config-options/#influxql-max-select-point)
* [--influxql-max-select-series](/influxdb/v2/reference/config-options/#influxql-max-select-series)
* [--instance-id](/influxdb/v2/reference/config-options/#instance-id)
* [--log-level](/influxdb/v2/reference/config-options/#log-level)
* [--metrics-disabled](/influxdb/v2/reference/config-options/#metrics-disabled)
* [--nats-max-payload-bytes](/influxdb/v2/reference/config-options/#nats-max-payload-bytes)*- (deprecated in InfluxDB 2.2)*
* [--nats-port](/influxdb/v2/reference/config-options/#nats-port)*- (deprecated in InfluxDB 2.2)*
* [--no-tasks](/influxdb/v2/reference/config-options/#no-tasks)
* [--overwrite-pid-file](/influxdb/v2/reference/config-options/#overwrite-pid-file)
* [--pid-file](/influxdb/v2/reference/config-options/#pid-file)
* [--pprof-disabled](/influxdb/v2/reference/config-options/#pprof-disabled)
* [--query-concurrency](/influxdb/v2/reference/config-options/#query-concurrency)
* [--query-initial-memory-bytes](/influxdb/v2/reference/config-options/#query-initial-memory-bytes)
* [--query-max-memory-bytes](/influxdb/v2/reference/config-options/#query-max-memory-bytes)
* [--query-memory-bytes](/influxdb/v2/reference/config-options/#query-memory-bytes)
* [--query-queue-size](/influxdb/v2/reference/config-options/#query-queue-size)
* [--reporting-disabled](/influxdb/v2/reference/config-options/#reporting-disabled)
* [--secret-store](/influxdb/v2/reference/config-options/#secret-store)
* [--session-length](/influxdb/v2/reference/config-options/#session-length)
* [--session-renew-disabled](/influxdb/v2/reference/config-options/#session-renew-disabled)
* [--sqlite-path](/influxdb/v2/reference/config-options/#sqlite-path)
* [--storage-cache-max-memory-size](/influxdb/v2/reference/config-options/#storage-cache-max-memory-size)
* [--storage-cache-snapshot-memory-size](/influxdb/v2/reference/config-options/#storage-cache-snapshot-memory-size)
* [--storage-cache-snapshot-write-cold-duration](/influxdb/v2/reference/config-options/#storage-cache-snapshot-write-cold-duration)
* [--storage-compact-full-write-cold-duration](/influxdb/v2/reference/config-options/#storage-compact-full-write-cold-duration)
* [--storage-compact-throughput-burst](/influxdb/v2/reference/config-options/#storage-compact-throughput-burst)
* [--storage-max-concurrent-compactions](/influxdb/v2/reference/config-options/#storage-max-concurrent-compactions)
* [--storage-max-index-log-file-size](/influxdb/v2/reference/config-options/#storage-max-index-log-file-size)
* [--storage-no-validate-field-size](/influxdb/v2/reference/config-options/#storage-no-validate-field-size)
* [--storage-retention-check-interval](/influxdb/v2/reference/config-options/#storage-retention-check-interval)
* [--storage-series-file-max-concurrent-snapshot-compactions](/influxdb/v2/reference/config-options/#storage-series-file-max-concurrent-snapshot-compactions)
* [--storage-series-id-set-cache-size](/influxdb/v2/reference/config-options/#storage-series-id-set-cache-size)
* [--storage-shard-precreator-advance-period](/influxdb/v2/reference/config-options/#storage-shard-precreator-advance-period)
* [--storage-shard-precreator-check-interval](/influxdb/v2/reference/config-options/#storage-shard-precreator-check-interval)
* [--storage-tsm-use-madv-willneed](/influxdb/v2/reference/config-options/#storage-tsm-use-madv-willneed)
* [--storage-validate-keys](/influxdb/v2/reference/config-options/#storage-validate-keys)
* [--storage-wal-flush-on-shutdown](/influxdb/v2/reference/config-options/#storage-wal-flush-on-shutdown)
* [--storage-wal-fsync-delay](/influxdb/v2/reference/config-options/#storage-wal-fsync-delay)
* [--storage-wal-max-concurrent-writes](/influxdb/v2/reference/config-options/#storage-wal-max-concurrent-writes)
* [--storage-wal-max-write-delay](/influxdb/v2/reference/config-options/#storage-wal-max-write-delay)
* [--storage-write-timeout](/influxdb/v2/reference/config-options/#storage-write-timeout)
* [--store](/influxdb/v2/reference/config-options/#store)
* [--strong-passwords](/influxdb/v2/reference/config-options/#strong-passwords)
* [--testing-always-allow-setup](/influxdb/v2/reference/config-options/#testing-always-allow-setup)
* [--tls-cert](/influxdb/v2/reference/config-options/#tls-cert)
* [--tls-key](/influxdb/v2/reference/config-options/#tls-key)
* [--tls-min-version](/influxdb/v2/reference/config-options/#tls-min-version)
* [--tls-strict-ciphers](/influxdb/v2/reference/config-options/#tls-strict-ciphers)
* [--tracing-type](/influxdb/v2/reference/config-options/#tracing-type)
* [--ui-disabled](/influxdb/v2/reference/config-options/#ui-disabled)
* [--use-hashed-tokens](/influxdb/v2/reference/config-options/#use-hashed-tokens)
* [--vault-addr](/influxdb/v2/reference/config-options/#vault-addr)
* [--vault-cacert](/influxdb/v2/reference/config-options/#vault-cacert)
* [--vault-capath](/influxdb/v2/reference/config-options/#vault-capath)
* [--vault-client-cert](/influxdb/v2/reference/config-options/#vault-client-cert)
* [--vault-client-key](/influxdb/v2/reference/config-options/#vault-client-key)
* [--vault-client-timeout](/influxdb/v2/reference/config-options/#vault-client-timeout)
* [--vault-max-retries](/influxdb/v2/reference/config-options/#vault-max-retries)
* [--vault-skip-verify](/influxdb/v2/reference/config-options/#vault-skip-verify)
* [--vault-tls-server-name](/influxdb/v2/reference/config-options/#vault-tls-server-name)
* [--vault-token](/influxdb/v2/reference/config-options/#vault-token)

#### Related

* [InfluxDB configuration options](/influxdb/v2/reference/config-options/)

[influxd](/influxdb/v2/tags/influxd/)[cli](/influxdb/v2/tags/cli/)
