Windows

How to set the PATH in a session on Windows

set PATH=%PATH%;C:\Some\Other\Directory
Link to original

*NIX

How to set the PATH in a session on UNIX-like operating systems

export PATH=$PATH:/some/other/directory
Link to original