Environment variables are usually defined in a file called .bashrc, .tcshrc or similarly in the users home directory, depending on the user's shell.
The exact syntax is usually described in the man-page for the user's shell (bash, tchs etc.).