Installation
Installer la CLI ZCP
Section intitulée « Installer la CLI ZCP »La CLI ZCP (zcp) est l’interface en ligne de commande officielle de ZSoftly Public Cloud. Elle
permet de gérer les VM, les réseaux, le stockage, Kubernetes et plus encore depuis votre terminal.
Version actuelle :
GitHub:
https://github.com/zsoftly/zcp-cli
Releases: https://github.com/zsoftly/zcp-cli/releases
Linux and macOS
Section intitulée « Linux and macOS »curl -fsSL https://raw.githubusercontent.com/zsoftly/zcp-cli/main/scripts/install.sh | bashAprès l’installation, vérifiez :
zcp versionWindows (PowerShell)
Section intitulée « Windows (PowerShell) »irm https://raw.githubusercontent.com/zsoftly/zcp-cli/main/scripts/install.ps1 | iexTéléchargement manuel
Section intitulée « Téléchargement manuel »Téléchargez le binaire pour votre plateforme depuis la page des versions GitHub :
| Plateforme | Architecture | Binaire |
|---|---|---|
| Linux | amd64 | zcp-linux-amd64 |
| Linux | arm64 | zcp-linux-arm64 |
| macOS | amd64 | zcp-darwin-amd64 |
| macOS | arm64 (Apple Silicon) | zcp-darwin-arm64 |
| Windows | amd64 | zcp-windows-amd64.exe |
Rendez le binaire exécutable (Linux/macOS) :
chmod +x zcp-linux-amd64sudo mv zcp-linux-amd64 /usr/local/bin/zcpCompiler depuis la source
Section intitulée « Compiler depuis la source »Nécessite Go 1.26 ou une version ultérieure :
git clone https://github.com/zsoftly/zcp-clicd zcp-climake buildsudo mv bin/zcp /usr/local/bin/zcpComplétions shell
Section intitulée « Complétions shell »# Bashzcp completion bash > /etc/bash_completion.d/zcp
# Zshzcp completion zsh > "${fpath[1]}/_zcp"
# Fishzcp completion fish > ~/.config/fish/completions/zcp.fish
# PowerShellzcp completion powershell >> $PROFILEVoir aussi : Démarrage rapide, Configuration