Open a folder in Finder
Build a paste-ready command, then review its compatibility and effects before running it.
read-onlyno known side effects Compatibility
macOSVerified for macOS using zsh, bash syntax.
Operational knowledgereview due 2027-01-19
Requirementsopenopen must be installed and available on PATH.
Version supportopen Current supported releasesVerified for macos using zsh, bash syntax; consult compatibility notes for platform-specific differences.
Expected signals(no terminal output)Representative successful output; values vary with the selected target and system state.
Known errorsopen: command not foundopen is missing or is not available on PATH.
Verifyopen {{folder}}The output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01openmacOS openerOpens a file, directory, or URL in its default application.
02.Current directoryTargets the folder represented by the current shell location.
Example output
(no terminal output)
Finder opens the current directory.
Illustrative output — exact values vary by system and data.
Official sources