Since the M1 Macs have a different architecture than the previous releases, there might be some incompatibility issues with some
apps/software/libraries. To activate rosetta, do:
open Finder
if using iTerm2 go to Applications
if using default Terminal go to Applications/Utilities
right-click the terminal app of your choice and select the Get Info option
then just click on the Checkbox that says Open using Rosetta
restart the terminal
now your terminal can run as it would on an Apple with an Intel processor
Install HomeBrew https://brew.sh/ from that terminal
General Setup
Install Oh My Zsh (https://ohmyz.sh/), this improves the terminal experience
adds custom themes, helpers, plugins etc
can be configured with the .zshrc file on the home folder ~/
Migrating from another mac
profile export as JSON option is available on the Profile menu