Skip to content

Installation

Yuriy Artamonov edited this page Aug 14, 2018 · 12 revisions

This section describes how to install and run cuba-cli.

Download the archive with cuba-cli build for your operating system and follow the instructions below.

See all downloads: https://bintray.com/cuba-platform/tools/cuba-cli

Windows

  1. Use EXE installer. It will automatically register cuba-cli in the PATH environment variable.
  2. Open a terminal and run the cuba-cli command to start cuba-cli.

Mac OS

  1. Install the CUBA CLI via Homebrew:
    $ brew install cuba-platform/tools/cuba-cli
    
  2. Run the cuba-cli command to start cuba-cli

Linux

SDK MAN

CUBA CLI is available in sdk: https://sdkman.io/sdks#cuba

  1. Install:
sdk install cuba
  1. Run the cuba-cli command to start cuba-cli.

Now you can use cuba-cli from any directory.

Manual installation

  1. Unpack the cuba-cli-1.0.0-linux.zip archive
unzip cuba-cli-1.0.1-linux.zip
mv ./cuba-cli-1.0.1 ~/cuba-cli-1.0.1
  1. Create local ~/.haulmont/bin folder if not exists
mkdir -p ~/.haulmont/bin
  1. Add the path to the ~/.haulmont/bin/ folder to the PATH variable and to your ~/.bashrc file:
nano ~/.bashrc

Add to the end of file:

PATH="$PATH:/home/$USER/.haulmont/bin/"

In order to update the path variable for the current session, run:

source ~/.bashrc
  1. Add symlink to cuba-cli
ln -sf ~/cuba-cli-1.0.1/bin/cuba-cli ~/.haulmont/bin/cuba-cli
  1. Run the cuba-cli command to start cuba-cli.

Now you can use cuba-cli from any directory.

You can’t perform that action at this time.