AptLynx

Command-line tool

opt-cli

npm/opt-cli

Checked 25 Oct 2026, 21:11 UTC · Still published on npm

Execute CLI Statements based upon Opt-In / Opt-Out Rules. executer cli opt-in opt-out

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:11 UTC

Install it

Windows

npm install -g opt-cli

macOS

npm install -g opt-cli

Linux

npm install -g opt-cli

Run an optimization or analysis on a bitcode file

opt -passname path/to/file.bc -S -o file_opt.bc

Output the Control Flow Graph of a function to a `.dot` file

opt -dot-cfg -S path/to/file.bc -disable-output

Optimize the program at level 2 and output the result to another file

opt -O2 path/to/file.bc -S -o path/to/output_file.bc

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents