Close the Command Prompt window and restart PowerShell. Check it out! Now you can use the command subl to open Sublime or basic file commands such as subl . to open the folder you are currently in in Sublime.