Skip to content

get-working-directory

Return the current working directory as an absolute path.

Category: Read-only

Parameters

None. Pass an empty object.

Output

The absolute path of the current working directory as a plain string — for example, /Users/alice/projects/my-app.

This path is the base used when any other tool resolves a relative path.