IBM Cloud Pak for Data 명령줄 인터페이스 다운로드 및 설치( IBM cpdctl)
이 주제에서는 IBM® watsonx.data (wx-data) 플러그인을 중심으로 IBM Cloud Pak for Data 명령줄 인터페이스( IBM cpdctl)를 다운로드, 설치 및 확인하는 방법에 대한 정보를 제공합니다.
시작하기 전에
IBM cpdctl에 대한 자세한 내용은 공식 README 파일에서 확인할 수 있습니다.
프로시저
-
다음 두 가지 방법 중 하나를 사용하여 IBM cpdctl을 다운로드하여 설치합니다:
a. 옵션 1: 다음 명령을 실행하여 IBM cpdctl을 자동으로 다운로드하고 설치하여 Linux 및 에 대한 운영 체제 및 프로세서 아키텍처를 감지합니다 macOS:
platform=$(uname -s | tr '[A-Z]' '[a-z]') arch=$(uname -m | sed 's/x86_64/amd64/') curl -LOs "https://github.com/IBM/cpdctl/releases/latest/download/cpdctl_${platform}_${arch}.tar.gz" tar zxf cpdctl_${platform}_${arch}.tar.gzb. 옵션 2: IBM cpdctl 리포지토리에서 적절한 아카이브를 다운로드합니다.
IBM Windows 운영 체제용 cpdctl은 아카이브에서 다운로드할 수 있습니다.
다양한 운영 체제용 파일 다운로드 운영 체제 아카이브 이름 주석 Microsoft Windows x64 cpdctl_windows_amd64.zipWindows 탐색기를 사용하여 아카이브에서 cpdctl.exe을 추출합니다.Linux x64 cpdctl_linux_amd64.tar.gz$ tar zxf cpdctl_linux_amd64.tar.gz명령을 실행하여 아카이브에서 cpdctl 실행 파일을 추출합니다.Linux Power 64비트 LE cpdctl_linux_ppc64le.tar.gz$ tar zxf cpdctl_linux_ppc64le.tar.gz명령을 실행하여 아카이브에서 cpdctl 실행 파일을 추출합니다.Linux on IBM Z cpdctl_linux_s390x.tar.gz$ tar zxf cpdctl_linux_s390x.tar.gz명령을 실행하여 아카이브에서 cpdctl 실행 파일을 추출합니다macOS- 인텔 x64 cpdctl_darwin_amd64.tar.gz$ tar zxf cpdctl_darwin_amd64.tar.gz명령을 실행하여 아카이브에서 cpdctl 실행 파일을 추출합니다macOS - Apple silicon cpdctl_darwin_arm64.tar.gz$ tar zxf cpdctl_darwin_arm64.tar.gz명령을 실행하여 아카이브에서 cpdctl 실행 파일을 추출합니다.지원되는 cpdctl 버전 watsonx.data 버전 cpdctl 버전 v2.1.1 v1.6.95 이후 v2.1.1 (개발자 에디션) 1.6.104 이후 v2.1.2 v1.7.0 이후 v2.2.1 ( V3 API) v1.8.25 이후 v2.2.2 v1.8.33 그리고 나중에 v2.3.0 v1.8.85 그리고 나중에 MCSP는 버전 부터 v1.8.0 CPDCTL에서 지원됩니다.
-
터미널에서
./cpdctl을 실행하여 cpdctl이 성공적으로 설치되었는지 확인하고 지원되는 명령을 표시합니다.결과는:
NAME: cpdctl - IBM Cloud Pak for Data Command Line Interface USAGE: cpdctl [command] [options] COMMANDS: config Manage Configuration asset Manage Assets project Manage Watson Studio - Projects API - OpenAPI Docs. space Manage Spaces connection Manage IBM Watson Data Platform Connections service. environment Manage Environments and Runtimes API. notebook Manage Notebooks API. code-package Manage Code Packages API. job Manage IBM Watson Data Platform Jobs and Scheduling Service. ml Manage Watson Machine Learning. datastage Manage IBM APIs for DataStage. find Find a resource with CPD Path pipeline Manage IBM Orchestration Pipelines API. wx-data Manage watsonx.data. wx-ai Manage watsonx.ai. version Display the tool version OPTIONS: --cpd-config string Configuration file path --cpdconfig string [Deprecated] Use --cpd-config instead -h, --help Show help --profile string Name of the configuration profile to use --raw-output If set to true, single values in JSON output mode are not surrounded by quotes -v, --version Version of the plugin. Use "cpdctl service-command --help" for more information about a command.