Need your own package repository for
Alpine, Cargo, Composer, Debian, Docker, Helm, Maven, npm, Python, RedHat, Ruby, Vagrant, Raw & More?
Cloudsmith provides better DevOps with simple and secure delivery of your software, from dev to production.

Start My Free 14-Day Trial
 Open-Source cloudsmith cloudsmith (Cloudsmith) / cli
Official repository for the Cloudsmith CLI application.
These tend to be pre-releases, for stable releases download from PyPi: https://pypi.python.org/pypi/cloudsmith-cli
Note: Packages in this repository are licensed as Apache License 2.0 (dependencies may be licensed differently).

All Cloudsmith repositories and packages are signed using GPG (or RSA) keys where supported. GPG (or RSA) signatures and checksums provide reliable mechanisms to ensure that the packages that you download/install are neither corrupt nor modified. GPG is generally preferred, but RSA is used for some package formats (such as Alpine). Learn more in the signing keys documentation.

Tool-Specific Instructions

Although we use GPG (and RSA) keys across each repository and package format, client-side tools might have specific instructions that differ (or require manual steps). To add or use the signing key for these tools, please click on the package format specific tabs above.

Public GPG Key

GPG-based key signing is used by the following package formats:   Cargo logo Composer logo Debian logo Docker logo Helm logo Maven logo npm logo Python logo RedHat logo Ruby logo Vagrant logo Raw logo

The public GPG key for the cloudsmith/cli is:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQENBFoW2q0BCAC/zRwGS5Hiui6cnj1Zhf8LP12tpYJ5x07lJ+XRz6e3h92eZEvD
8O1JDkcHd+iWAeDIoPY7l4pnaZxCW0Xz1+FssAuWkoluBPZNupKCSIG3WKRXiTOo
sXbTO2uIneZfTPOYRpvrgMfem99CpLFSoevJ8k3EHoEPnn5VJZv9pGo3JpIpBNO/
gIegB1g1/971Cey63OYDm1dnpBnEE+Z5LmZEJfbKE73KbwP4S/QNtaCepmzlQsJm
l2j1PIxGKOBVBc3qd9ir0hBTOiJJQR2sJ6cXe1i03B86/eWTOopiHFPi8NnglNIb
BT6Z7udAeKDVHwwYxwihU6c/AJ9PY4qplvhNABEBAAG0O0Nsb3Vkc21pdGggUGFj
a2FnZSAoY2xvdWRzbWl0aC9jbGkpIDxjb250YWN0QGNsb3Vkc21pdGguaW8+iQE3
BBMBCAAhBQJaFtqtAhsvBQsJCAcDBRUKCQgLBRYCAwEAAh4BAheAAAoJEA57n63U
PrVUw4wIAKiWdDFF3UU4VHN2hdWgYqbqrmWVyVdKAuo88Ee7QpY5TD/HdajIhacT
6ntawF3L0tzqAj36GTF2Xz5DFbkow8nrz7d9gmwYXdbFrMOXZAUPW4bNTZd1ToSb
/4tTjNRxNmKk+Qu+ZfORPL/uFAtnQPBKHrUJtGh6ljMSYoW093Oi/Xt0EJIRwLiT
XxMtp5MKxADpiUm3iNS7inWReg6wwWRJKf0N0iBDehOriaJUV/rsWEGdrzIH7Ivj
eHJ39khZ5vu6WCUZsyvlEwRhYgJcdYOoSx/sZb0vQog67TsyDPewd09p1606gXKF
O5cprBPNNh4brnv4cU2mIeqh1GOgkK8=
=MxFA
-----END PGP PUBLIC KEY BLOCK-----

It has the following long (20 bytes) and short (8 bytes) fingerprints:

8E80A1FFF6DF43FE906D00FF0E7B9FADD43EB554
0E7B9FADD43EB554

You can download the GPG key or fetch it via the command-line:

curl -sL 'https://dl.cloudsmith.io/public/cloudsmith/cli/cfg/gpg/gpg.0E7B9FADD43EB554.key'

Public RSA Key

RSA-based key signing is used by the following package formats:   Alpine logo

The public RSA key for the cloudsmith/cli is:

-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtdVCqHIX/FGbkfh6fucG
RWaTlK/qYgTWSpFxfI5V1PJ4jttoPKNVfYt8cPlconRgH0Kq1tU05wHcY+Lpq4Y5
1p3GHoKvzNlzssfIlVBcD0mjuuKDd6a5/oIugF9tU81BymgRrt1NZCFGPf6r5YF2
sTG9J48GxDBXmmRRojhrBMhgqpEakWnAvnEi3nJV/ZHUegYlmMd2sLAiseT4Bizf
NdiOpIHP56+jWgzY/4AsORtPcdzK3wu5VifYPXjLX7Wi4eqacQ5Ww3d50C2ytzy9
O5lcFnqChfCCYUirqFXY1fqwjEIy/98yWMuDDLqI3HgJ29RRNBn9zsUDVsBLoNqe
2wIDAQAB
-----END PUBLIC KEY-----

It has the following long (16 bytes) and short (8 bytes) fingerprints:

71B872ADAF8F94FF2C841CB9EFD1065A
2C841CB9EFD1065A

You can download the RSA key or fetch it via the command-line:

curl -sL 'https://dl.cloudsmith.io/public/cloudsmith/cli/cfg/rsa/rsa.2C841CB9EFD1065A.key'

Still Stuck? Need Help?

Don't Panic. If you're struggling, please don't hestitate to contact us for assistance. We love talking to everyone (and we mean, everyone), and getting you automated with machine-like proficiency is our top priority.

Alpine logo

Alpine Signing Key Installation

The following instructions are for Alpine (e.g. apk) packages or compatible.

Automated Installation (Bash)

If you installed the cloudsmith/cli repository by following one of the repository installation instructions then you don't need take any further action. The RSA key should already have been installed alongside the repository.

Manual Installation

If you'd like to manually install the RSA key, you can utilise curl to retrieve the RSA key and install it by executing:

curl -sL 'https://dl.cloudsmith.io/public/cloudsmith/cli/cfg/rsa/rsa.2C841CB9EFD1065A.key' >/etc/apk/keys/cli@cloudsmith-2C841CB9EFD1065A.rsa.pub

Or you can add it directly without curl by executing:

sudo cat >/etc/apk/keys/cli@cloudsmith-2C841CB9EFD1065A.rsa.pub <<EOF
    -----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtdVCqHIX/FGbkfh6fucG
RWaTlK/qYgTWSpFxfI5V1PJ4jttoPKNVfYt8cPlconRgH0Kq1tU05wHcY+Lpq4Y5
1p3GHoKvzNlzssfIlVBcD0mjuuKDd6a5/oIugF9tU81BymgRrt1NZCFGPf6r5YF2
sTG9J48GxDBXmmRRojhrBMhgqpEakWnAvnEi3nJV/ZHUegYlmMd2sLAiseT4Bizf
NdiOpIHP56+jWgzY/4AsORtPcdzK3wu5VifYPXjLX7Wi4eqacQ5Ww3d50C2ytzy9
O5lcFnqChfCCYUirqFXY1fqwjEIy/98yWMuDDLqI3HgJ29RRNBn9zsUDVsBLoNqe
2wIDAQAB
-----END PUBLIC KEY-----
    EOF

Removing Installation / Uninstalling

If you want to remove the public RSA key for the cloudsmith/cli repository then you can do so by executing the following:

sudo rm -f /etc/apk/keys/cli@cloudsmith-2C841CB9EFD1065A.rsa.pub

Note: Don't do this if you currently have the repository installed and wish to continue using it. If you remove the key the next fetch will fail.

Viewing Installed Keys

If you want to verify that a RSA public key has been installed or removed, you can view the list of all installed keys by executing:

ls -la /etc/apk/keys/
Debian logo

Debian Signing Key Installation

The following instructions are for Debian (e.g. apt, deb, dpkg) packages or compatible.

Automated Installation (Bash)

If you installed the cloudsmith/cli repository by following one of the repository installation instructions then you don't need take any further action. The GPG key should already have been installed alongside the repository.

Manual Installation

If you'd like to manually install the GPG key, you can utilise curl to retrieve the GPG key and install it by executing:

curl -sL 'https://dl.cloudsmith.io/public/cloudsmith/cli/cfg/gpg/gpg.0E7B9FADD43EB554.key' | sudo apt-key add -

Or you can add it directly without curl by executing:

sudo apt-key add - <<EOF
    -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQENBFoW2q0BCAC/zRwGS5Hiui6cnj1Zhf8LP12tpYJ5x07lJ+XRz6e3h92eZEvD
8O1JDkcHd+iWAeDIoPY7l4pnaZxCW0Xz1+FssAuWkoluBPZNupKCSIG3WKRXiTOo
sXbTO2uIneZfTPOYRpvrgMfem99CpLFSoevJ8k3EHoEPnn5VJZv9pGo3JpIpBNO/
gIegB1g1/971Cey63OYDm1dnpBnEE+Z5LmZEJfbKE73KbwP4S/QNtaCepmzlQsJm
l2j1PIxGKOBVBc3qd9ir0hBTOiJJQR2sJ6cXe1i03B86/eWTOopiHFPi8NnglNIb
BT6Z7udAeKDVHwwYxwihU6c/AJ9PY4qplvhNABEBAAG0O0Nsb3Vkc21pdGggUGFj
a2FnZSAoY2xvdWRzbWl0aC9jbGkpIDxjb250YWN0QGNsb3Vkc21pdGguaW8+iQE3
BBMBCAAhBQJaFtqtAhsvBQsJCAcDBRUKCQgLBRYCAwEAAh4BAheAAAoJEA57n63U
PrVUw4wIAKiWdDFF3UU4VHN2hdWgYqbqrmWVyVdKAuo88Ee7QpY5TD/HdajIhacT
6ntawF3L0tzqAj36GTF2Xz5DFbkow8nrz7d9gmwYXdbFrMOXZAUPW4bNTZd1ToSb
/4tTjNRxNmKk+Qu+ZfORPL/uFAtnQPBKHrUJtGh6ljMSYoW093Oi/Xt0EJIRwLiT
XxMtp5MKxADpiUm3iNS7inWReg6wwWRJKf0N0iBDehOriaJUV/rsWEGdrzIH7Ivj
eHJ39khZ5vu6WCUZsyvlEwRhYgJcdYOoSx/sZb0vQog67TsyDPewd09p1606gXKF
O5cprBPNNh4brnv4cU2mIeqh1GOgkK8=
=MxFA
-----END PGP PUBLIC KEY BLOCK-----
    EOF

Removing Installation / Uninstalling

If you want to remove the public GPG key for the cloudsmith/cli repository then you can do so by executing the following:

sudo apt-key remove 8E80A1FFF6DF43FE906D00FF0E7B9FADD43EB554

Note: Don't do this if you currently have the repository installed and wish to continue using it. If you remove the key the next fetch will fail.

Viewing Installed Keys

If you want to verify that a GPG public key has been installed or removed, you can view the list of all installed keys by executing:

apt-key list
RedHat logo

RedHat Signing Key Installation

The following instructions are for RedHat (e.g. dnf, rpm, yum, zypper) packages or compatible.

Automated Installation (Bash)

If you installed the cloudsmith/cli repository by following one of the repository installation instructions then you don't need take any further action. The GPG key should already have been installed alongside the repository.

Manual Installation

If you'd like to manually install the GPG key, you can utilise curl to retrieve the GPG key and install it by executing:

rpm --import 'https://dl.cloudsmith.io/public/cloudsmith/cli/cfg/gpg/gpg.0E7B9FADD43EB554.key'

Or you can add it directly without curl by executing:

cat > /tmp/cloudsmith-cli.key <<EOF
    -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQENBFoW2q0BCAC/zRwGS5Hiui6cnj1Zhf8LP12tpYJ5x07lJ+XRz6e3h92eZEvD
8O1JDkcHd+iWAeDIoPY7l4pnaZxCW0Xz1+FssAuWkoluBPZNupKCSIG3WKRXiTOo
sXbTO2uIneZfTPOYRpvrgMfem99CpLFSoevJ8k3EHoEPnn5VJZv9pGo3JpIpBNO/
gIegB1g1/971Cey63OYDm1dnpBnEE+Z5LmZEJfbKE73KbwP4S/QNtaCepmzlQsJm
l2j1PIxGKOBVBc3qd9ir0hBTOiJJQR2sJ6cXe1i03B86/eWTOopiHFPi8NnglNIb
BT6Z7udAeKDVHwwYxwihU6c/AJ9PY4qplvhNABEBAAG0O0Nsb3Vkc21pdGggUGFj
a2FnZSAoY2xvdWRzbWl0aC9jbGkpIDxjb250YWN0QGNsb3Vkc21pdGguaW8+iQE3
BBMBCAAhBQJaFtqtAhsvBQsJCAcDBRUKCQgLBRYCAwEAAh4BAheAAAoJEA57n63U
PrVUw4wIAKiWdDFF3UU4VHN2hdWgYqbqrmWVyVdKAuo88Ee7QpY5TD/HdajIhacT
6ntawF3L0tzqAj36GTF2Xz5DFbkow8nrz7d9gmwYXdbFrMOXZAUPW4bNTZd1ToSb
/4tTjNRxNmKk+Qu+ZfORPL/uFAtnQPBKHrUJtGh6ljMSYoW093Oi/Xt0EJIRwLiT
XxMtp5MKxADpiUm3iNS7inWReg6wwWRJKf0N0iBDehOriaJUV/rsWEGdrzIH7Ivj
eHJ39khZ5vu6WCUZsyvlEwRhYgJcdYOoSx/sZb0vQog67TsyDPewd09p1606gXKF
O5cprBPNNh4brnv4cU2mIeqh1GOgkK8=
=MxFA
-----END PGP PUBLIC KEY BLOCK-----
    EOF
    rpm --import /tmp/cloudsmith-cli.key
    rm -f /tmp/cloudsmith-cli.key

Removing Installation / Uninstalling

If you want to remove the public GPG key for the cloudsmith/cli repository then you can do so by executing the following:

gpgkey=$(rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} %{summary}\n' | grep "(cloudsmith/cli)" | awk '{ print $1 }')
test ! -z "$gpgkey" && sudo rpm -e --allmatches "$gpgkey"

Note: Don't do this if you currently have the repository installed and wish to continue using it. If you remove the key the next fetch will fail.

Viewing Installed Keys

If you want to verify that a GPG public key has been installed or removed, you can view the list of all installed keys by executing:

rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}\n'
Top