CLI
Installationβ
Gitploy provides a command tool for each version. The most recent version of the command is provided on this page, but if you need a specific version of the command, you can check the assets by version on the release page of GitHub.
Binary Downloadsβ
Download and install the raw binaries by platform:
platform | download | verify |
---|---|---|
Linux x64 | tarball | checksum |
Linux arm64 | tarball | checksum |
Linux arm | tarball | checksum |
Windows x64 | tarball | checksum |
Darwin x64 | tarball | checksum |
Darwin arm64 | tarball | checksum |
Install on Linuxβ
Download and install on Linux:
curl -L https://github.com/gitploy-io/gitploy/releases/latest/download/gitploy_linux_amd64.tar.gz | tar zx
sudo install -t /usr/local/bin gitploy
Install on OSXβ
Download and install on OSX:
curl -L https://github.com/gitploy-io/gitploy/releases/latest/download/gitploy_darwin_amd64.tar.gz | tar zx
sudo cp gitploy /usr/local/bin
Configurationβ
The command-line tools interact with the server using REST endpoints. You will need to provide the CLI tools with the server addresses and your authorization token. You can find your authorization token in your Gitploy account settings (click your Avatar in the user interface).
1. Configure your Gitploy server address:
export GITPLOY_SERVER_HOST=https://cloud.gitploy.io/
β οΈThe host must have a trailing slash (i.e., /
).
2. Configure your Gitploy token:
export GITPLOY_TOKEN=vrdxGkiokoSyhoRStgryF....