Skip to content

natscli

Command-line interface for NATS

A command line utility to interact with and manage NATS. This utility replaces various past tools that were named in the form nats-sub and nats-pub, adds several new capabilities and support full JetStream management.

devops

https://github.com/nats-io/natscli

armhf amd64 arm64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install natscli

sudo apt install natscli

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    natscli=0.1.5*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      natscli=0.1.5*

Download URLs

Version SHA256 Size (KB)
0.1.5 502259c034851ad53a43a83d6fa6af0b84c726d0c06b1d4a12a64fd8a2bca53d 6823
0.1.4 6c1e6176f8ac4a338afba58eecdf5681bae5e9f8a4a1713b2bdc9f3d7ceb672b 6682
0.1.3 9a68065ec499f8871a350758c2ae6a45e6b4b1c007fc437932fb296d182cb417 6667
0.1.1 60a62cf659d71687a9b6ef617e3d6c260a1dbdbe3885918d7a98b6c5d175a148 6611
0.1.0 b29e044b22783ad9f050a422c86e564c2581318e49bcb14c0020399c21f07f24 6614
0.0.35 014791762c122f031fd99b9d4634f7522e718f8942231c8a2c574c51b84bfde1 5818
0.0.34 c3dd234d362133a5d7e4a6f926e35ee37c9f4f00be00d7ab4da45aad7220a12f 5816
0.0.33 7cc49bbcc98813db11ac53b47a0683221f6c17c16ff0e23194241c7fa8d1d2b3 5524
0.0.26 c169b3b6164ad3551b1b0d9d3dffa850923992b48788112047943daef8a9e0af 3738
Version SHA256 Size (KB)
0.1.5 c3e6e1d4eb353b4d3f458c572888d967ec1eaff2640fade721a7ac332bc781fc 5801
0.1.4 33df87b601e517a0d8915b40c667a3ab8e1f0481f3bcbfbc5e5fad578eb5964d 5674
0.1.3 1eea9afa4ae2ee774e2ba9692d14003b6583082c5a494188474a507fce87eaf6 5661
0.1.1 0e066cbb2b0de8e4ac8a6480429333d85feaf25250db17601d0e7345d754493c 5618
0.1.0 f9baea27b4cf1280d7825becac57d4f667160510c1194a0f27ac731695931eaf 5620
0.0.35 0fc6b08266b654fd076ccbe945e4aee21b76e8b3df7b67c698e9ee141813e7e4 4957
0.0.34 fe71d55ec8e5ad61ff4ea787e70c0a53ecf4ced4890282d97d7ef59f5d951946 4956
0.0.33 6204e0810875798ed62b4d744d2d78189de421b189d80300e275e0ad660ab617 4732
0.0.26 8e8bf92800f0faef23677c02da9624b882afb9c5d4080e3672f8a24179e0460e 3195
Version SHA256 Size (KB)
0.1.5 2919bff1b698a8d1ae3b58943804ecee9570de41c0a4262f7395542b465af53c 5838
0.1.4 2a7584c48884e9132c465e7e97cf7efafb06538d9c03506b93d72c2c9a8f4599 5712
0.1.3 c9f8b26041c989e4c21cef9b2f2ff3a0a9bea9ae1126f07d9ecee1998c48b9de 5700
0.1.1 e4af2357d98c75ba31f935bf23118dd0dae023c455bbe1cd1f49fa06879e1dfe 5657
0.1.0 27f0979367f24b7928ff459597177bf189262ecc4d7d9e03292b043dace11e9c 5657
0.0.35 bfecdb4f802fe0f2d52201edc4dc0f1061efaf070eb3bb666f745f2d61470aeb 5044
0.0.34 ef04f102d63212c4d74ce3b96eaca278d3318ffc8c8ff0813b5c7da8df1c09f3 5041
0.0.33 0094a45ddff7ab2e8d03049318a447c56fa43d097b7e4cbeb1418c0265003a5c 4792

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for natscli are versioned here.

Click here to see natscli ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/natscli/ops2deb.yml
- name: natscli
  version: 0.0.26
  revision: "3"
  homepage: https://github.com/nats-io/natscli
  summary: command-line interface for NATS
  description: |-
    A command line utility to interact with and manage NATS. This utility replaces
    various past tools that were named in the form nats-sub and nats-pub, adds
    several new capabilities and support full JetStream management.
  fetch: https://github.com/nats-io/natscli/releases/download/{{version}}/nats-{{version}}-linux-amd64.zip
  script:
    - mv nats-{{version}}-linux-amd64/nats {{src}}/usr/bin/nats

- name: natscli
  version: 0.0.26
  revision: "3"
  architecture: arm64
  homepage: https://github.com/nats-io/natscli
  summary: command-line interface for NATS
  description: |-
    A command line utility to interact with and manage NATS. This utility replaces
    various past tools that were named in the form nats-sub and nats-pub, adds
    several new capabilities and support full JetStream management.
  fetch: https://github.com/nats-io/natscli/releases/download/{{version}}/nats-{{version}}-linux-{{goarch}}.zip
  script:
    - mv nats-{{version}}-linux-{{goarch}}/nats {{src}}/usr/bin/nats

- name: natscli
  matrix:
    architectures:
      - amd64
      - arm64
      - armhf
    versions:
      - 0.0.33
      - 0.0.34
      - 0.0.35
      - 0.1.0
      - 0.1.1
      - 0.1.3
      - 0.1.4
      - 0.1.5
  homepage: https://github.com/nats-io/natscli
  summary: command-line interface for NATS
  description: |-
    A command line utility to interact with and manage NATS. This utility replaces
    various past tools that were named in the form nats-sub and nats-pub, adds
    several new capabilities and support full JetStream management.
  fetch:
    url: https://github.com/nats-io/natscli/releases/download/v{{version}}/nats-{{version}}-linux-{{target|goarch}}.zip
    targets:
      armhf: arm7
  install:
    - nats-{{version}}-linux-{{target|goarch}}/nats:/usr/bin/

The blueprint fetch keyword contains a URL template pointing to natscli releases. Downloaded files are locked in a lockfile versioned here.

Click here to see natscli release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/natscli/ops2deb.lock.yml
- url: https://github.com/nats-io/natscli/releases/download/0.0.26/nats-0.0.26-linux-amd64.zip
  sha256: d6a1f0aed5710eee69740fc1da24576a716076e7e3eca83a4772d1ea637a8fde
  timestamp: 2021-12-14 15:37:09+00:00
- url: https://github.com/nats-io/natscli/releases/download/0.0.26/nats-0.0.26-linux-arm64.zip
  sha256: c7574e6f5db365b0430a1bde90badbd1d28a747d91d5f6986b73e531d87995d1
  timestamp: 2022-01-28 18:33:46+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.0.33/nats-0.0.33-linux-amd64.zip
  sha256: e1f8cbece8b7f5c24e0e4cb884ea44f2b40b47231b6fe28aefb30f19de16be88
  timestamp: 2022-08-22 11:51:00+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.0.33/nats-0.0.33-linux-arm64.zip
  sha256: b7c523c4bde007d29c6b4247a9d2f16fe84727ff945b3a0d53ef2889c783e477
  timestamp: 2022-08-22 11:51:00+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.0.33/nats-0.0.33-linux-arm7.zip
  sha256: a19684ef73fe76593231c544a1027e0876207fb8e2ce450fba264dbb917957aa
  timestamp: 2022-08-22 11:51:00+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.0.34/nats-0.0.34-linux-amd64.zip
  sha256: 4f57234271b0600dc905933e6add707a36fb14353090de3c973220e8f8e2d65b
  timestamp: 2022-09-09 17:26:20+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.0.34/nats-0.0.34-linux-arm64.zip
  sha256: a8a1d3f42d460bd5ac5407f78a4ceda1d731ee8bd363efc9b808d8b592c65fb6
  timestamp: 2022-09-09 17:26:20+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.0.34/nats-0.0.34-linux-arm7.zip
  sha256: e05bd5b938916db7a9b5fa336f2c262b76aaf9cfd78cf8b80c6eb599c8a005bc
  timestamp: 2022-09-09 17:26:20+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.0.35/nats-0.0.35-linux-amd64.zip
  sha256: edc9437c20d983cd4a82a086519d06de6ab19f37a61e94b2f6359d460ea48d24
  timestamp: 2022-11-04 19:28:43+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.0.35/nats-0.0.35-linux-arm64.zip
  sha256: 847f2b9a815a9894ea5b8f8c006039e240188d16bfb0c53ed450fa2b24933b19
  timestamp: 2022-11-04 19:28:43+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.0.35/nats-0.0.35-linux-arm7.zip
  sha256: cb5ee074144adfeaef4764f62c3c8f5a78af2092fa7c5edc5eb9ce3437b13155
  timestamp: 2022-11-04 19:28:43+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.0/nats-0.1.0-linux-amd64.zip
  sha256: 2171c34d14e72de40d9b517d4ed8dae729239e3e43e9b967cff1dfc90aeaf3df
  timestamp: 2023-09-20 12:33:17+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.0/nats-0.1.0-linux-arm64.zip
  sha256: 781fe35c4ce3f52f178b6be3d17211da58c2f387e955ecff5df96ea6d25f9346
  timestamp: 2023-09-20 12:33:17+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.0/nats-0.1.0-linux-arm7.zip
  sha256: d9c7e821837e43f53b5678f5db640a8b6cf73e08b27bd386d9e133cbb9bce2c8
  timestamp: 2023-09-20 12:33:17+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.1/nats-0.1.1-linux-amd64.zip
  sha256: 751a0f5047ad140c7b788e614ec678f837ebfb69c64d11fb5bcbed48216726a7
  timestamp: 2023-09-30 01:10:35+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.1/nats-0.1.1-linux-arm64.zip
  sha256: a1cac32e40ab3dc5d2bbcf2a63bce8d114f562fec3b6430374672db938f14a12
  timestamp: 2023-09-30 01:10:35+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.1/nats-0.1.1-linux-arm7.zip
  sha256: 91a459597789c310d5cf780188ef2dc12154c2b2ed95d95b8fe6d73f49446c96
  timestamp: 2023-09-30 01:10:35+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.3/nats-0.1.3-linux-amd64.zip
  sha256: 7c94cbee0295a828615fb4e0ffa730c3939fc3139db085a4e158592abb4bd5f0
  timestamp: 2024-02-16 15:05:58+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.3/nats-0.1.3-linux-arm64.zip
  sha256: 233b412d507e661574bd679be4f75c8bdaf7e709795a0863d3584e4ee3d03fd0
  timestamp: 2024-02-16 15:05:58+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.3/nats-0.1.3-linux-arm7.zip
  sha256: d3f1dd22f94c40b8d9f814556cec1826371e8e7502db2014393076d03a3a232b
  timestamp: 2024-02-16 15:05:58+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.4/nats-0.1.4-linux-amd64.zip
  sha256: 7bb55b77f21f6630e04297c1acb921d9b7ab2c6417344005a6a0aa5a0f59aca7
  timestamp: 2024-03-13 09:06:15+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.4/nats-0.1.4-linux-arm64.zip
  sha256: 333a8365c75747266990c77e574a217a8c334d27861b21089ff78edc73ceb46c
  timestamp: 2024-03-13 09:06:15+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.4/nats-0.1.4-linux-arm7.zip
  sha256: d0ff52b291cdd2d53df7833068de5d2d57e8fa9f986cb33d0650e258d1c6dc9a
  timestamp: 2024-03-13 09:06:15+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.5/nats-0.1.5-linux-amd64.zip
  sha256: 728c562e8f59bacd5eb016a6db2664e343b79f3c6642ba03fb9fb1dce7a2bc40
  timestamp: 2024-07-29 18:07:32+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.5/nats-0.1.5-linux-arm64.zip
  sha256: 49d3157511e4f8d61bdee273b4ea5d19821c454b261fe18568e18254febb344f
  timestamp: 2024-07-29 18:07:32+00:00
- url: https://github.com/nats-io/natscli/releases/download/v0.1.5/nats-0.1.5-linux-arm7.zip
  sha256: 929e248712e7bdac287cee38d63d412e58de1b4a9edd23b54d1e649e4b24cf7e
  timestamp: 2024-07-29 18:07:32+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/natscli.svg)](https://docs.wakemeops.com/packages/natscli)
<a href="https://docs.wakemeops.com/packages/natscli">
  <img src="https://docs.wakemeops.com/badges/natscli.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/natscli.svg
:target: https://docs.wakemeops.com/packages/natscli