Skip to content

Releases: ktorio/ktor-cli

2.1.0-beta-1

28 Jul 02:53
Compare
Choose a tag to compare
2.1.0-beta-1 Pre-release
Pre-release

Ktor CLI

Ktor CLI is a command-line tool that brings the capability to create and run Ktor applications from the command line.

Install CLI tools

macOS with Homebrew:

You can install Ktor CLI tools on macOS using Homebrew as follows:

  1. Add a Ktor repository using the brew tap command:
    brew tap ktorio/ktor
    
  2. Install Ktor CLI tools using brew install:
    brew install --build-from-source ktor
    

Linux or macOs without Homebrew

  1. Make sure you have libcurl and unzip on your system
  2. Move the release binary (ktor-mac or ktor-linux) to /usr/local/bin folder and change the name to ktor:
    mv ./ktor-linux /usr/local/bin/ktor
  3. Make it executable: sudo chmod +x /usr/local/bin/ktor
  4. For macOs you have to also allow the system to execute the binary from third-party developer. In order to do this you have to open it with Finder using the context menu "Open":

Screen Shot 2022-07-28 at 14 32 18

And then click "Open" in the dialog.

Screen Shot 2022-07-28 at 14 33 22

After doing so, your binary can be executed from comand line. 4. execute `PATH=$PATH:/usr/local/bin` 5. Now you can use `ktor` command

0.0.1-tmp-3

30 Jun 01:02
Compare
Choose a tag to compare
0.0.1-tmp-3 Pre-release
Pre-release
Add fake jar task for snapcraft publication

0.0.1-tmp

17 Jun 17:24
Compare
Choose a tag to compare
0.0.1-tmp Pre-release
Pre-release

Temporary release

0.0.1-tmp-2

30 Jun 01:01
bee37c6
Compare
Choose a tag to compare
0.0.1-tmp-2 Pre-release
Pre-release
 KTOR-3420 Fix compilation and tests (#2)

* KTOR-3420 Fix compilation and tests

* KTOR-3922 Add support for macOs M1 target in CLI generator

* KTOR-3929 Support colored logs for errors and success msgs

* Rename run to start

* Fix test