cedar-cli¶
Install cedar-cli
¶
Install cedar-cli
by executing the following script:
export CEDAR_HOME=~/CEDAR
cd ~/CEDAR
git clone https://github.com/metadatacenter/cedar-cli
cd cedar-cli
git checkout develop
python -m venv ./.venv
source .venv/bin/activate
pip install -r requirements.txt
python -m pip install --upgrade pip
Configure CEDAR_HOME
and cedarcli
alias¶
vi ~/.zshrc
Add these lines:
export PATH="$HOME/.jenv/bin:$PATH"
eval "$(jenv init -)"
Check bash profile content¶
At this point, your ~/.zshrc
should contain these lines:
export PATH=$(brew --prefix)/opt/openssl@1.1/bin:$PATH
export PATH="$HOME/.jenv/bin:$PATH"
eval "$(jenv init -)"
export CEDAR_HOME=~/CEDAR
alias cedarcli='source $CEDAR_HOME/cedar-cli/cli.sh'