0.3.1 • Published 1 year ago

rosetta-cli v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

rosetta-cli logo

rosetta-cli

Easily switch & run commands on Intel/ARM modes in M1-powered Macs with Rosetta 2.

It provides a more comfortable user experience on top of the arch and softwareupdate binaries in macOS.

Requirements

  • A Mac with an ARM CPU, like the Apple M1 chip.
  • Node.js v14 or later.

Install

Global install (recommended, works offline)

npm i -g rosetta-cli
rosetta

Without installing (network needed)

npx rosetta-cli

Usage

Usage: rosetta [options] [commands...]

  rosetta                              prompts for mode and starts a new shell

  rosetta [-i, --intel]                starts a new shell in Intel (x86_64) mode
  rosetta [-a, --arm]                  starts a new shell in ARM (arm64) mode

  rosetta [-i, --intel] <commands...>  runs the commands in Intel (x86_64) mode
  rosetta [-a, --arm] <commands...>    runs the commands in ARM (arm64) mode

Options:
  -i, --intel    run in Intel (x86_64) mode
  -a, --arm      run in ARM (arm64) mode
  -v, --version  output the version number
  -h, --help     display help for command

Commands:
  install        installs Rosetta 2 on this Mac

Contributing

Check out CONTRIBUTING.md.

MIT licensed. Created and maintained by Rodrigo Fernández (GitHub, Twitter).

0.3.0

1 year ago

0.3.1

1 year ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago