使用命令列下載 CLI

技術文章

Solution
Application
Content Type
技術說明文件
Utilities & Services
ft:locale
zh-TW

若要手動下載 CLI,請在您的平台上從命令提示字元執行下列其中一個命令。

Note:
  • CLI 二進位檔案將會下載到目前目錄。下載 CLI 前,先瀏覽至要下載的目標目錄。否則,您將需要在下載後手動移動 CLI。

  • 在 Linux 平台上,建議將 CLI 二進位檔案放在系統路徑的目錄中,例如 /usr/local/bin,這樣在使用 CLI 時就不需要指定完整路徑。

Linux 64 位元版本
wget https://archive.services.jamfcloud.com/jamf-pro-server-tools/release/latest/linux/x64/jamf-pro
Linux 32 位元版本
wget https://archive.services.jamfcloud.com/jamf-pro-server-tools/release/latest/linux/x86/jamf-pro
Windows PowerShell
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest -Uri https://archive.services.jamfcloud.com/jamf-pro-server-tools/release/latest/windows/x64/jamf-pro.exe -OutFile jamf-pro.exe
Note:

您可以將上方 URL 中的「latest」取代為特定版本。欲瀏覽可用的檔案和版本,請參閱Jamf File Archive