---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# deepseek

> An AI coding assistant using DeepSeek Coder models.
> More information: <https://github.com/holasoymalva/deepseek-cli#cli-commands>.

- Start interactive mode:

`deepseek`

- Run a single prompt:

`deepseek chat "{{write a Python function for binary search}}"`

- Start interactive mode with a specific model:

`deepseek --model {{deepseek-coder:6.7b}}`

- Set up the local environment (Ollama):

`deepseek setup`

- Force the CLI to use local mode:

`deepseek --local`

- Display help:

`deepseek --help`
