nogar Help
How to use nogar and its ngr command, a single executable for macOS, Linux and Windows that inspects, modifies, signs and decompiles Android apps: how to install it, what each command does and how it maps to the tools you already know.
Where to start
I have never used it
- “Download” the package for your system and unpack it.
- Put the
ngrfolder on yourPATHand check that it starts withngr --version(“Installation” says how on each system). - See what a file is and decompile it:
ngr identify app.apk
ngr decompile app.apk
The “quick start” continues from there with three complete walkthroughs.
I come from apktool, jadx or apksigner
The “command-by-command equivalents” put each command you already use next to its
ngr counterpart, and “Behavior differences” says where the result changes.
I want the details of a command
Each command has its own page in “Commands”. In the terminal, ngr help <command> gives the
same summary of inputs and options.
Something does not work as I expected
Look the message up in “Messages and troubleshooting”, or check what the exit code ngr
ended with means in “Output and exit codes”.
At a glance
| Systems | macOS (Apple silicon), Linux x64 and Windows x64 |
| What you download | one executable, ngr; it installs nothing |
| What it needs | nothing else: no Java, no .NET, no Android SDK |
| What it reads | apk, dex, and the xapk, apkm, apks and aab bundles |
| How you use it | ngr <command> [options] <input> |
| Price and license | free, under its own use license; distributed only as a binary |
| Version described | 0.1.0 |
How the examples are written
Commands go in code blocks and can be copied as they are. The examples use an app.apk file in the current
folder; change the name to that of your own. What ngr answers goes in another block, sometimes shortened with
....
The texts that ngr prints (the help, the warnings, the error messages) are quoted exactly as they appear. The
help of ngr calls its commands verbs: ngr help <verb>.
Getting started
Download nogar, install it, follow the quick start and learn how ngr works.
Commands
One page for each of the 19 commands: inputs, options, what it writes and its exit codes.
Tasks
One page per task: inspect, modify, sign, rotate the key, merge, decompile and automate.
Comparison
What ngr covers next to the other apk tools, the command-by-command equivalents and the differences.
Reference
Exit codes, files, the decode tree, the decompiler output, limits, messages, release notes and licence.