Create /Users/<username>
/code (or wherever you want it)
-
Open Disk Utility; create a new volume:
- APFS (Case Sensitive, Encrypted)
- Put in the password; it won’t save yet
-
Open terminal, run: sudo diskutil apfs list
- Find the volume you created in the list; it’s probably the last item. Looks like this (volume CodeFS):
Volume disk1s6 19927108-1370-4A52-840F-3AF7B9F5FB6D