Installation
The Nirmata CLI is available on Linux, macOS, and Windows.
Homebrew
Download and install the latest stable release of the notation CLI on macOS, Linux, or Windows Subsystem for Linux (WSL) using Homebrew:
Install
brew tap nirmata/nctl
brew install nctl
Verify
You can verify the nctl
installaton by checking its version:
nctl version
Upgrade
brew upgrade nctl
Uninstall
brew uninstall nctl
brew untap nirmata/nctl
Binary download
Download the latest stable release of the Nirmata CLI binary.
Set the NCTL_VERSION
environment variable to the version of nctl you want to download. For example, if the latest version is 4.2.1
export NCTL_VERSION=4.2.1
Linux
For ARM processors:
curl -LO https://dl.nirmata.io/nctl/nctl_$NCTL_VERSION/nctl_$NCTL_VERSION\_linux_arm64.zip
curl -LO https://dl.nirmata.io/nctl/nctl_$NCTL_VERSION/nctl_$NCTL_VERSION\_linux_arm64.zip.asc
For x86 processors:
curl -LO https://dl.nirmata.io/nctl/nctl_$NCTL_VERSION/nctl_$NCTL_VERSION\_linux_amd64.zip
curl -LO https://dl.nirmata.io/nctl/nctl_$NCTL_VERSION/nctl_$NCTL_VERSION\_linux_amd64.zip.asc
MacOS
For ARM processors:
curl -LO https://dl.nirmata.io/nctl/nctl_$NCTL_VERSION/nctl_$NCTL_VERSION\_macos_arm64.zip
curl -LO https://dl.nirmata.io/nctl/nctl_$NCTL_VERSION/nctl_$NCTL_VERSION\_macos_arm64.zip.asc
For x86 processors:
curl -LO https://dl.nirmata.io/nctl/nctl_$NCTL_VERSION/nctl_$NCTL_VERSION\_macos_amd64.zip
curl -LO https://dl.nirmata.io/nctl/nctl_$NCTL_VERSION/nctl_$NCTL_VERSION\_macos_amd64.zip.asc
Windows
curl -LO https://dl.nirmata.io/nctl/nctl_$NCTL_VERSION/nctl_$NCTL_VERSION\_windows_64-bit.zip
curl -LO https://dl.nirmata.io/nctl/nctl_$NCTL_VERSION/nctl_$NCTL_VERSION\_windows_64-bit.zip.asc
Verify the download
To verify the signature of a Nirmata download:
- Download the Nirmata PGP key (see below)
- Use gpg to verify the download integrity
export GNUPGHOME="$(mktemp -d)"
gpg --keyserver keys.openpgp.org --recv-key 7CEE8D12BCFE419B55A5D66A4F71AE57094A908B
gpg --batch --verify <ASC_FILE> <ARCHIVED_ZIP_FILE>
For a download with a valid signature, the above commands will show an output with a line:
gpg: Good signature from "Nirmata Security <security@nirmata.com>"
To secure communications and verify downloads, you can use the following PGP key. You can also fetch this key from the keys.openpgp.org
key server with the ID 7CEE8D12BCFE419B55A5D66A4F71AE57094A908B
.
key
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF46FmMBEAC5mu4GcQpQrLX9IEzpvcigrQLhDgTyfffO3ATTH8xp2w3DDfZQ
BGCpG+dmr5aBxZWsD34vFcSJdSrgtnKSR8KQRM5jgj2OSM1hiDwschdX2K5+luGH
xTCrKHZNZo22YGkOmkoAakkhbDH4NLcNuLV6Ra8E5TmaBwTruYnyVEgrWsmWd0xx
1GX7d4CUbe8y+ozTpLK2JzCwEA1HIs9/76OViY9i5o9AHMbX2NFW1xccEgLFS4eF
RASn7pgss0HEeJzoRt5c1E6L9A9JXIHWHNdJM7e/KwkdjuyNwgsNg8xNC7+R8riv
a4Tv+yhtSCW9UksPpzKMFGHGylwkZ69cW9IJCYfQmv8waMPqkfRyXVoIAcSrqmWl
nwrQ1kyBn4c/RX5l4WaRw99VVJsVXPS0Zqp2e1Ofw/Ho0Pmbzv7enQGLEoIy+eot
PvSENs1spEGfHNDayWGxSG50sqFHHFWHSrMopuFzZV4QATSMp49m9gauEo3TeNaJ
Xkg67qkjufcyzfBEtU65eE0tl2t+kLWLCa2CKlFbaLAJBaNF6YikVrmQ5HV1S1k2
K53ZJ9rXlJwiJdOUXnDWQ8Q1GT73ioAguojFVGFl5rBL1brXtyDlhW2Lt4tuKmZd
a9hR24qdyY5eIXY4sj1s2ZSKlUWKqSCMlUbrz4gvyuHxNr9vQfdyKDsOMQARAQAB
tCdOaXJtYXRhIFNlY3VyaXR5IDxzZWN1cml0eUBuaXJtYXRhLmNvbT6JAlQEEwEI
AD4WIQR87o0S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yaXgm4eH3hCFaMVvR2Hgy7G6O/upJDCz6IC8HdYirbkrCrys4rWHrqr+ybve1otw
N4ZiNIcFCjfaCjJnnACsF5bH7FEuIgtYv15JZQIsL4ajMi1K7eXexQQLCr79sgTw
9V4Q6JD9HXyskV/e83uN
=jCzX
-----END PGP PUBLIC KEY BLOCK-----
Install the CLI binary
nctl
is a precompiled binary. It is distributed as a zip archive. After download, unzip the downloaded package. You can then set permissions and move the binary into a directory in your PATH
.
unzip <ZIP_FILE>
chmod u+x nctl
sudo mv nctl /usr/local/bin/nctl
Verify the installation
You can verify the nctl
installaton by checking its version:
nctl version
Upgrade
Upgrade nctl
to stay up-to-date with the supported features, follow these steps:
- Check the version of installed binary and compare with the latest stable release to see if an update is required:
nctl version
- If the installed binary is out-dated, remove previous installation of
nctl
:
rm -rf /usr/local/bin/nctl
- Delete the
.asc
and.zip
file downloaded at the time of install. - Download the latest release of
nctl
binary and install it as described above in the installation instructions. - After installing, check the version of the newly installed binary:
nctl version
Uninstall
Follow these steps to uninstall nctl
:
- Remove the installed
nctl
binary:
rm -rf /usr/local/bin/nctl
- Remove the
.asc
and.zip
file downloaded at the time of install.
This is the final element on the page and there should be no margin below this.