Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fdezromero/rosetta-cli
Easily switch & run commands on Intel/ARM modes in M1-powered Macs with Rosetta 2.
https://github.com/fdezromero/rosetta-cli
apple arch arm cli hacktoberfest m1 mac rosetta
Last synced: 7 days ago
JSON representation
Easily switch & run commands on Intel/ARM modes in M1-powered Macs with Rosetta 2.
- Host: GitHub
- URL: https://github.com/fdezromero/rosetta-cli
- Owner: FdezRomero
- License: mit
- Created: 2021-07-21T17:10:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-09T14:40:16.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T22:41:07.650Z (8 days ago)
- Topics: apple, arch, arm, cli, hacktoberfest, m1, mac, rosetta
- Language: TypeScript
- Homepage:
- Size: 2.63 MB
- Stars: 13
- Watchers: 5
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
![rosetta-cli logo](https://raw.githubusercontent.com/FdezRomero/rosetta-cli/main/assets/rosetta-cli.png)
# 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)
```shell
npm i -g rosetta-cli
rosetta
```### Without installing (network needed)
```shell
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) moderosetta [-i, --intel] runs the commands in Intel (x86_64) mode
rosetta [-a, --arm] runs the commands in ARM (arm64) modeOptions:
-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 commandCommands:
install installs Rosetta 2 on this Mac
```## Contributing
Check out [CONTRIBUTING.md](CONTRIBUTING.md).
MIT licensed. Created and maintained by Rodrigo Fernández ([GitHub](https://github.com/FdezRomero), [Twitter](https://twitter.com/FdezRomero)).