vapor/console-kit

đź’» APIs for creating interactive CLI tools.

579

stars

455

commits

Swift

primary language

Aug 14, 2026

updated

api.vapor.codes/consolekit/
command-line
console
hacktoberfest
server-side-swift
swift
swift-linux
swift-log
vapor
Browse cluster: Server-side Swift web frameworks →

README

ConsoleKit

Documentation Team Chat MIT License Continuous Integration Code Coverage Swift 6.2+


đź’» Utilities for interacting with a terminal and the command line in a Swift application.

Overview

ConsoleKit provides utilities for interacting with a console in a Swift application. It provides:

  • Utilities for sending text (including styles and colors, when supported) to and reading input from a terminal.
  • ConsoleLogger, a SwiftLog LogHandler implementation for customizable logging to a console.

Supported Platforms

ConsoleKit supports all platforms supported by Swift 6.2 and later.

Installation

Use the Github repository URL to add the dependency to your Package.swift manifest:

.package(url: "https://github.com/vapor/console-kit.git", from: "5.0.0")

CLI Tools

To use ConsoleKit, add it to your target's dependencies:

.product(name: "ConsoleKit", package: "console-kit")

Logging

ConsoleLogger is a flexible logging backend for console applications, allowing developers to customize log output with various fragments, including timestamps, log levels, and source locations.

To use ConsoleLogger, add it to your target's dependencies:

.product(name: "ConsoleLogger", package: "console-kit")

Contributors

(top 30 of 39)

tanner0101

274 commits

loganwright

45 commits

calebkleveter

33 commits

gwynne

24 commits

vapor/console-kit

đź’» APIs for creating interactive CLI tools.

579

stars

455

commits

Swift

primary language

Aug 14, 2026

updated

api.vapor.codes/consolekit/
command-line
console
hacktoberfest
server-side-swift
swift
swift-linux
swift-log
vapor
Browse cluster: Server-side Swift web frameworks →

README

ConsoleKit

Documentation Team Chat MIT License Continuous Integration Code Coverage Swift 6.2+


đź’» Utilities for interacting with a terminal and the command line in a Swift application.

Overview

ConsoleKit provides utilities for interacting with a console in a Swift application. It provides:

  • Utilities for sending text (including styles and colors, when supported) to and reading input from a terminal.
  • ConsoleLogger, a SwiftLog LogHandler implementation for customizable logging to a console.

Supported Platforms

ConsoleKit supports all platforms supported by Swift 6.2 and later.

Installation

Use the Github repository URL to add the dependency to your Package.swift manifest:

.package(url: "https://github.com/vapor/console-kit.git", from: "5.0.0")

CLI Tools

To use ConsoleKit, add it to your target's dependencies:

.product(name: "ConsoleKit", package: "console-kit")

Logging

ConsoleLogger is a flexible logging backend for console applications, allowing developers to customize log output with various fragments, including timestamps, log levels, and source locations.

To use ConsoleLogger, add it to your target's dependencies:

.product(name: "ConsoleLogger", package: "console-kit")

Contributors

(top 30 of 39)

tanner0101

274 commits

loganwright

45 commits

calebkleveter

33 commits

gwynne

24 commits

Languages

Swift

100.0%