All apps/arch

arch

arch

Print the machine architecture or run a program under a selected architecture.

Runs as arch|macOS

Command form

ai-draft · 1 task · 6 fields

Run a program with a native architecture flag. The -arch option and per-architecture shortcuts are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui arch
Run under architectureExample values, fixed in this page — nothing here reaches a terminal
Basic
Program and arguments*
string
Run as x86_64
-x86_64
TasksEach one presets the form for one job
Run under Rosetta (x86_64)
x86_64program
ParametersOnly these flags are editable in the form
Run as arm64
boolean
-arm64
Run as x86_64
boolean
-x86_64
Clear environment
boolean
-c
Set variable (NAME=value)
string · repeatable
-e
Delete variable
string · repeatable
-d
Program and arguments
string · positional 0 · repeatable
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed arch against its version. A form that does not match your version is not offered.