---
name: "ycmd"
section: "1"
platform: "linux"
package: "ycmd"
version: "0+20240823+git8b61f19+ds-2+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ycmd"
---

# ycmd(1)

code-completion and comprehension server

## NAME

ycmd - code-completion and comprehension server

## SYNOPSIS

**ycmd** \[**-h\]** \[**--host** *HOST*\] \[**--port** *PORT*\] \[**--log** *LOGLEVEL*\] \[**--idle\_suicide\_seconds** *IDLE\_SUICIDE\_SECONDS*\] \[**--options\_file** *OPTIONS\_FILE*\] \[**--stdout** *STDOUT*\] \[**--stderr** *STDERR*\] \[**--keep\_logfiles\]**

## DESCRIPTION

ycmd is a server that provides APIs for code-completion and other code-comprehension use-cases like semantic GoTo commands (and others). For certain filetypes, ycmd can also provide diagnostic errors and warnings.

## OPTIONS

- **-h**, **--help**

  Print a usage message briefly summarizing these command-line options and the bug-reporting address, then exit.

- **--host** **\[***HOST***\]**

  Listen on specified  *HOST* address (default is localhost if none specified).

- **--port** **\[***PORT***\]**

  Listen on specified TCP *PORT* number.

- **--log"** \[ *LOGLEVEL* \]

  Log level, one of \[ *debug* \| *info* \| *warning* \| *error*\| *critical* \]

- **--idle\_suicide\_seconds** **\[***IDLE\_SUICIDE\_SECONDS***\]**

  *IDLE\_SUICIDE\_SECONDS* before server shuts down.

- **--options\_file** **\[***OPTIONS\_FILE***\]**

  File with user options, in JSON format.

- **--stdout** **\[***STDOUT***\]**

  Optional file to use for stdout.

- **--stderr** **\[***STDERR***\]**

  Optional file to use for stderr.

- **--keep\_logfiles**

  Retain logfiles after the server exits.
