Install akkasls

The Akka Serverless CLI, akkasls enables you to interact with Akka Serverless deployment projects. To install it, follow these steps:

Linux

Download and install the latest version of akkasls:

curl -sL https://developer.lightbend.com/docs/akka-serverless/get.sh | bash

If that fails due to permission issues, use:

curl -sL https://developer.lightbend.com/docs/akka-serverless/get.sh | sudo bash

You can pass options to the installer script with -s -- e.g.:

curl -sL https://developer.lightbend.com/docs/akka-serverless/get.sh | bash -s -- --prefix=$HOME --version=2.0.22 --verbose
curl -sL https://developer.lightbend.com/docs/akka-serverless/get.sh | bash -s -- -P $HOME -v 2.0.22 -V
macOS

Recommended approach

The recommended approach to install akkasls on macOS, is using brew

brew install lightbend-labs/brew/akkasls

Alternative approach

curl -sL https://developer.lightbend.com/docs/akka-serverless/get.sh | bash

You can pass options to the installer script with -s -- e.g.:

curl -sL https://developer.lightbend.com/docs/akka-serverless/get.sh | bash -s -- --prefix=$HOME --version=2.0.22 --verbose
curl -sL https://developer.lightbend.com/docs/akka-serverless/get.sh | bash -s -- -P $HOME -v 2.0.22 -V
Windows
  1. Download the latest version of akkasls from https://downloads.akkaserverless.com/latest/akkasls_windows_amd64.zip

  2. Optionally, you can verify the integrity of the downloaded files using the SHA256 checksums.

  3. Extract the zip file and move akkasls.exe to a location on your %PATH%.

Verify that the Akka Serverless CLI has been installed successfully by running the following to list all available commands:

akkasls help