-
Notifications
You must be signed in to change notification settings - Fork 2
Tips Tricks
A short collection of tips/tricks related to the usage of the laptop
repository and its mac
script.
The Starship prompt included in this laptop configuration relies heavily on a font with emoji support, in this case the script installs such a font for you automatically (called Meslo).
After successfully completing the baseline setup via the mac
script in this repository, proceed with the following instructions:
See reference images for the visual steps for both Terminal/iTerm at the bottom of this document.
- Open the default MacOS 'Terminal' application
- Open 'Preferences' for 'Terminal'
- Click on the 'Profile' tab in the 'Preferences' modal
- Click on 'Change' for 'Font' (button to the right side of that 'row')
- In the middle column of the font modal, called 'Family', select 'MesloLGL Nerd Font Mono'
- Close the 'Fonts' modal and close out the 'Preferences' modal entirely
- Open the 'iTerm' application
- Open 'Preferences' for 'iTerm'
- Click on the 'Profiles' tab in the 'Preferences' modal
- Click on the 'Text' sub-menu item
- At the bottom of the main modal area, click the font dropdown and select 'MesloLGL Nerd Font Mono'
- Close the 'Preferences' modal entirely
Installing the commonly-used version of Node.js + NPM for our projects requires a bit of a workaround that may be non-obvious to those unfamiliar with M1 + Node compilation nuances.
To avoid compilation errors for Node.js at the version used in our Mariana Django project, 14.19.1 - you need to leverage the Rosetta translation layer.
The steps are provided below, along with reference images at the bottom of this document.
- Open the 'Finder' application
- Navigate to 'Applications'
- Open the 'Utilities' directory
- Find the 'Terminal' application, right-click on the application and select 'Duplicate'
- Rename the newly copied 'Terminal' application to 'Rosetta Terminal'
- After committing the change in name, right-click the 'Rosetta Terminal' application and select 'Get Info'
- In the information modal, check 'Open using Rosetta'
- Close out any existing 'Terminal' or 'Rosetta Terminal' applications
- Open 'Rosetta Terminal' and type the word 'arch' confirming you see 'i386' instead of 'arm64'
- If you do not see 'i386' returned, repeat the steps above confirming all steps taken were correct
- If you so see 'i386', proceed with installation of
nvm
per the instructions current to their project, ensuring that all steps performed are done so within the 'Rosetta Terminal': NVM - Installing and Updating - After successfully installing
nvm
, close out of the 'Rosetta Terminal' - you do not need to use this again, for the foreseeable future in day-to-day activities.










