Skip to content

Latest commit

 

History

History
86 lines (55 loc) · 2.09 KB

install.md

File metadata and controls

86 lines (55 loc) · 2.09 KB

Installation

OpenDeps can be installed on Linux, macOS and Windows.

Quick start

Use these instructions to get up and running quickly.

Homebrew

If you have Homebrew installed:

brew tap opendeps/cli
brew install opendeps

Shell script

Or, use this one liner (macOS and Linux only):

curl -L https://raw.githubusercontent.com/opendeps/cli/main/install/install_opendeps.sh | bash -

It is good practice to examine the script first.

See Releases for the latest version.


Advanced installation steps

macOS

Only Intel x86_64 is supported on macOS.

# see https://github.com/opendeps/cli/releases
export OPENDEPS_VERSION=0.1.0

curl -L -o opendeps.tar.gz "https://github.com/opendeps/cli/releases/download/v${OPENDEPS_VERSION}/opendeps_${OPENDEPS_VERSION}_macOS_x86_64.tar.gz"
tar xvf opendeps.tar.gz
mv ./opendeps /usr/local/bin/opendeps

Linux

Intel x86_64, ARM32 and ARM64 is supported on Linux.

# see https://github.com/opendeps/cli/releases
export OPENDEPS_VERSION=0.1.0

# choose one
#export OPENDEPS_ARCH=arm64
#export OPENDEPS_ARCH=arm
export OPENDEPS_ARCH=x86_64

curl -L -o opendeps.tar.gz "https://github.com/opendeps/cli/releases/download/v${OPENDEPS_VERSION}/opendeps_${OPENDEPS_VERSION}_Linux_{OPENDEPS_ARCH}.tar.gz"
tar xvf opendeps.tar.gz
mv ./opendeps /usr/local/bin/opendeps

Windows

Only Intel x86_64 is supported on Windows.

These instructions assume curl and unzip are available. You can also download the ZIP archive from the Releases page.

# see https://github.com/opendeps/cli/releases
SET OPENDEPS_VERSION=0.1.0

curl.exe --output opendeps.zip --url "https://github.com/opendeps/cli/releases/download/v%OPENDEPS_VERSION%/opendeps_%OPENDEPS_VERSION%_Windows_x86_64.zip"
unzip.exe opendeps.zip

# use command (or add to PATH)
opendeps.exe [command/args]

Uninstall

To uninstall, remove the opendeps binary from /usr/local/bin (macOS and Linux only).

rm /usr/local/bin/opendeps