Install the Akka CLI
The Akka CLI, akka enables you to interact with Akka projects. To install it, follow these steps:
- Linux
-
Download and install the latest version of
akka:curl -sL https://doc.akka.io/install-cli.sh | bashIf that fails due to permission issues, use:
curl -sL https://doc.akka.io/install-cli.sh | bash -s -- --prefix /tmp && \ sudo mv /tmp/akka /usr/local/bin/akkaYou can pass options to the installer script with
-s --e.g.:curl -sL https://doc.akka.io/install-cli.sh | bash -s -- --prefix=$HOME --version=3.0.30 --verbose curl -sL https://doc.akka.io/install-cli.sh | bash -s -- -P $HOME -v 3.0.30 -VFor manual installation, download akka_linux_amd64_3.0.30.tar.gz, extract the
akkaexecutable and make it available on your PATH. - macOS
-
Recommended approach
The recommended approach to install
akkaon macOS, is using brewbrew install akka/brew/akkaIf the
akkaCLI is already installed, and you want to upgradeakkato the latest version, you can runbrew update brew upgrade akkaAlternative approach
curl -sL https://doc.akka.io/install-cli.sh | bash
You can pass options to the installer script with
-s --e.g.:curl -sL https://doc.akka.io/install-cli.sh | bash -s -- --prefix=$HOME --version=3.0.30 --verbose curl -sL https://doc.akka.io/install-cli.sh | bash -s -- -P $HOME -v 3.0.30 -V - Windows
-
-
Download the latest version of
akkafrom https://downloads.akka.io/latest/akka_windows_amd64.zip -
Optionally, you can verify the integrity of the downloaded files using the SHA256 checksums.
-
Extract the zip file and move
akka.exeto a location on your%PATH%.
-
Verify that the Akka CLI has been installed successfully by running the following to list all available commands:
akka help