-
Notifications
You must be signed in to change notification settings - Fork 8
Installation
Egor Lavrenkov edited this page Jan 17, 2020
·
14 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://www.cuba-platform.com/download/previous-cli/
- Use EXE installer. It will automatically register
cuba-cli
in the PATH environment variable. - Open a terminal and run the
cuba-cli
command to start cuba-cli.
- Install the CUBA CLI via Homebrew:
$ brew install cuba-platform/tools/cuba-cli
- Run the
cuba-cli
command to start cuba-cli
CUBA CLI is available in sdk: https://sdkman.io/sdks#cuba
- Install:
sdk install cuba
- Run the
cuba-cli
command to start cuba-cli.
Now you can use cuba-cli
from any directory.
- 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
- Create local
~/.haulmont/bin
folder if not exists
mkdir -p ~/.haulmont/bin
- Add the path to the
~/.haulmont/bin/
folder to thePATH
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
- Add symlink to
cuba-cli
ln -sf ~/cuba-cli-1.0.1/bin/cuba-cli ~/.haulmont/bin/cuba-cli
- Run the
cuba-cli
command to start cuba-cli.
Now you can use cuba-cli
from any directory.