Installing dpsctl

Installing dpsctl

Overview

This guide provides a step-by-step process for installing the DPS command-line client.

Prerequisites

  • Linux or macOS operating system
  • amd64 or arm64 architecture

Download Pre-built Binary

DPS provides pre-built binaries for the following platforms:

  • Linux
  • macOS

Download dpsctl from the NVIDIA NVOnline Portal.

VERSION="v0.7.0"  # e.g. v1.0.0
OS="linux"        # e.g. linux or darwin
ARCH="amd64"      # e.g. amd64, arm64

# Extract the binary
tar -xzf dpsctl_${OS}_${ARCH}_v1-${VERSION}.tgz

# Make it executable
chmod +x dpsctl

# Move to system PATH (optional)
sudo mv dpsctl /usr/local/bin/

# Verify installation
dpsctl --version

Verification

After installation, verify that dpsctl is working correctly:

# Check version
dpsctl --version

# View help
dpsctl --help

Troubleshooting

Permission Issues

# If you get permission denied
chmod +x dpsctl

# If system installation fails
sudo chown $USER:$USER dpsctl

Connection Issues

# Log in to the DPS server
dpsctl login

# Test server functionality
dpsctl verify

Authentication Issues

# Re-login if credentials expire
dpsctl login

# Check credential file
ls -la ~/.dpsctl/credentials.yaml

Next Steps

After installing dpsctl, see: