Installation
Installing nogar means unpacking a package and, if you want, putting its folder on the PATH. There is no
installer.
Requirements
| System | What it needs |
|---|---|
| macOS | A Mac with Apple silicon and macOS 12 or later |
| Linux | x64 with glibc 2.35 or later (Ubuntu 22.04 or later, or another distribution with that glibc), and the ICU and OpenSSL 3 libraries |
| Windows | x64. We have tested it on Windows 11 |
No system needs Java, .NET or the Android SDK.
macOS
unzip nogar-0.1.0-osx-arm64.zip
To use ngr from any folder in this terminal session, put its folder on the PATH:
export PATH="$PWD/nogar-0.1.0-osx-arm64:$PATH"
Before using it, read “First run”: macOS does not open it the first time.
Linux
tar xzf nogar-0.1.0-linux-x64.tar.gz
export PATH="$PWD/nogar-0.1.0-linux-x64:$PATH"
ngr uses the system ICU and OpenSSL libraries. On Ubuntu 22.04 you install them like this:
sudo apt install libicu70 libssl3
On Ubuntu versions later than 22.04 those packages change names: install the ICU and OpenSSL 3 equivalents that
yours offers. If ICU is missing, ngr does not start and says so
(“Messages and troubleshooting”).
Windows
Unblock the zip before unpacking it (“First run” explains how) and unpack it with Explorer or with PowerShell:
Expand-Archive nogar-0.1.0-win-x64.zip -DestinationPath .
With Explorer's Extract All, change the destination to the folder where the zip is. Otherwise you end up with a folder inside another one of the same name.
To use ngr from any folder in this PowerShell session:
$env:Path = "$PWD\nogar-0.1.0-win-x64;$env:Path"
Keeping ngr on the PATH permanently
The commands above last for the session in which you type them. To make them last in all of them:
- macOS and Linux. Add the
export PATH=...line to your shell's startup file (~/.zshrcin zsh,~/.bashrcin bash) with the full path of the folder, or copyngrto a folder that is already on thePATH, such as/usr/local/bin. - Windows. Add the folder to your user's
Pathvariable in Edit the environment variables for your account.
ngr does not depend on the other files in the package to work, so you can move the executable on its own. Keep
LICENSE.txt and NOTICE.txt with your copy.
First run
nogar is not notarized, so macOS and Windows ask you to confirm it once.
macOS
ngr carries an ad hoc signature, not an Apple notarization. Gatekeeper refuses to open it the first time.
Remove the quarantine mark from the unpacked folder:
xattr -dr com.apple.quarantine nogar-0.1.0-osx-arm64
Windows
ngr.exe is not signed, and SmartScreen may warn when you run it. Before unpacking the zip, unblock it in
PowerShell:
Unblock-File nogar-0.1.0-win-x64.zip
If SmartScreen still stops it, choose More info and then Run anyway.
Linux
Nothing is needed beyond the libraries in “Linux”.
Checking that it works
On any system:
ngr --version
ngr 0.1.0
ngr help lists the commands, and ngr help <command> shows the inputs and options of one.
Non-ASCII characters in PowerShell
When its output goes to a file or a pipe, ngr.exe writes UTF-8. PowerShell reads it with a different encoding
unless you tell it otherwise, and characters that are not ASCII come out wrong. Before redirecting or chaining the
output of ngr, run:
[Console]::OutputEncoding = [Text.Encoding]::UTF8
In the console, without redirecting, it is not needed.
Updating
Unpack the package of the new version and point the PATH to its folder. Each version unpacks into a folder with
its number, so several can live side by side.
Removing
Delete the package folder. Outside it, ngr stores only one file: the debug key, which is created the first time
you sign with --debug-key. Before deleting it, read
“The debug key”: without it you will not be able to update the apps you
signed.