To permanently show hidden files on your Mac, you can use a third-party tool or add a defaults command to your Terminal's startup script.
Now you can see everything on your Mac—and hide it just as fast. show mac hidden files
The fastest method for temporary access. To permanently show hidden files on your Mac,
Best if you need to see hidden files regularly. show mac hidden files