Installing and Accessing CLI

The steps to install virtual environment and corestack CLI is as follows:

1. Install virtualenv with pip

$ pip install virtualenv

2. Create a virtual environment

$ virtualenv .venv

Note: This will install virtual environment in the present working directory.

3. Activate virtual environment

$ . .venv/bin/activate

4. Install CoreStack CLI

(.venv)$ pip install --upgrade corestack

Note: This will install corestack CLI within the virtual environment.

5. Verify CoreStack CLI is installed correctly

(.venv)$ corestack --version

It should display the following
corestack 0.1

Consolidated command transcript
Below is the consolidated command transcript of above 5 steps
$ pip install virtualenv
$ virtualenv .venv
$ . .venv/bin/activate
(.venv)$ pip install --upgrade corestack
(.venv)$ corestack --version