1

I cannot find the user's PowerShell local profile file on Linux. Where is it located at on non-Windows OSs?

2

Following the XDG Base Directory specification the user's profile file is located at:

~/.config/powershell/profile.ps1

Source: What's New in PowerShell Core 6.0 - Filesystem

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.