How To Install Daphne?

How To Install Daphne?

daphne

Django Channels HTTP/WebSocket server

Maintainer: Debian Python Modules Team



Section: httpd

Install daphne

  • Debian apt-get install daphne Click to copy
  • Ubuntu apt-get install daphne Click to copy
  • Kali Linux apt-get install daphne Click to copy

daphne

Django Channels HTTP/WebSocket server

Daphne is a HTTP, HTTP2 and WebSocket protocol server for ASGI, and developed to power Django Channels. It supports automatic negotiation of protocols; there's no need for URL prefixing to determine WebSocket endpoints versus HTTP endpoints.

Installing daphne command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu and Kali operating systems. Once you run the command it will install the latest version of daphne 2026 package in your OS.