Hide application from application list macos

Run the following command to hide a app from the "Applications" on macos

sudo chflags hidden /Applications/PowerShell.app

To show it again,

sudo chflags nohidden /Applications/PowerShell.app