liveBook · Manning

Home directory

As explained in Build Applications with Local AI Models on a Mac

A filesystem directory assigned to a user for storing personal files and configuration data.

A home directory is a user’s personal folder. On macOS, its path can look like `/Users/yourname`; `~` is shorthand for that location. section 1.7.3

Return home

Use `cd` or `cd ~` to return to your home directory from anywhere. To go straight to Documents, use `cd ~/Documents`. section 1.7.3

/Users/yourname

This path shows the home directory after moving up from the Desktop folder. section 1.7.3

How Build Applications with Local AI Models on a Mac covers it

How deep it goes
Defines the home-directory shortcut and demonstrates returning home or using it within a path.
Examples
Shows `/Users/yourname`, `cd ~`, and `cd ~/Documents` as path and command examples.
What you can do after
Operate terminal navigation by returning home with `cd` or `cd ~`, or by using `~` in a path.
How it connects
Connects home directories to shell navigation, paths, and parent directories.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build Applications with Local AI Models on a Mac. The section links point to the parts of the book it draws on.