Skip to content

Installation

Kdeps requires three key components to operate effectively:

All of these components must be installed to ensure Kdeps functions as intended.

Note: Using the --latest flag allows you to fetch the latest versions of the schema, Anaconda package, and PKL binary from GitHub and the web. While setting the GITHUB_TOKEN environment variable is optional, it is highly recommended. Without the token, the process will rely on unauthenticated access, which is subject to low rate limits and may result in errors due to rate limit exhaustion.

Kdeps CLI Installation Guide

macOS

For macOS users, the simplest way to install Kdeps is via brew:

shell
brew install kdeps/tap/kdeps

Windows, Linux, and macOS

On macOS, Linux, or Windows, you can use curl to install Kdeps:

shell
curl -LsSf https://raw.githubusercontent.com/kdeps/kdeps/refs/heads/main/install.sh | sh

Alternatively, you can use wget:

shell
wget -qO- https://raw.githubusercontent.com/kdeps/kdeps/refs/heads/main/install.sh | sh

Note for Windows Users: For optimal functionality, run the installation command using either Git Bash or a WSL terminal.


Troubleshooting

'Permission Denied' Error During Installation

Issue:

You may encounter a 'Permission Denied' error during installation. This typically occurs when the installer lacks permission to write the Kdeps binary to the ~/.local/bin directory.

Solution:

To fix this, grant the necessary write permissions by running the installation command with sudo:

shell
curl -LsSf https://raw.githubusercontent.com/kdeps/kdeps/refs/heads/main/install.sh | sudo sh

This ensures the installer has the required access to complete the setup successfully.