Difference between revisions of "PATH"
(Created page with "The PATH variable is a list of paths (directories) that get scanned for commands to run without having to enter their full path. This is useful for easier interaction with dev...") |
m (Added i18n.) |
||
Line 51: | Line 51: | ||
and add that your <code>~/.profile</code> file to make it permanent. | and add that your <code>~/.profile</code> file to make it permanent. | ||
+ | |||
+ | == Other Languages == | ||
+ | {{i18n|PATH}} |
Latest revision as of 06:24, 12 September 2016
The PATH variable is a list of paths (directories) that get scanned for commands to run without having to enter their full path. This is useful for easier interaction with development executables like love.exe
(simply love
on OS X/Linux).
On this page you will learn how to add your LÖVE directory to PATH.
Contents
Windows
First, locate your love.exe
. If it's in C:\Program Files\LOVE\
then that's the path you need to add.
Windows 10, Windows 8
- In Search, search for and then select: System (Control Panel)
- Click the Advanced system settings link.
- Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.
- In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable. Click OK. Close all remaining windows by clicking OK.
Windows 7
- From the desktop, right click the Computer icon.
- Choose Properties from the context menu.
- Click the Advanced system settings link.
- Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.
- In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable. Click OK. Close all remaining windows by clicking OK.
Windows Vista
- From the desktop, right click the My Computer icon.
- Choose Properties from the context menu.
- Click the Advanced tab (Advanced system settings link in Vista).
- Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.
- In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable. Click OK. Close all remaining windows by clicking OK.
Windows XP
- Select Start, select Control Panel. double click System, and select the Advanced tab.
- Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.
- In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable. Click OK. Close all remaining windows by clicking OK.
Mac OS X
First, locate your love.app
. If it's in /Applications/
, then the path you need to add is /Applications/love.app/Contents/MacOS/
.
In the Terminal app, run:
export PATH=$PATH:/Applications/love.app/Contents/MacOS/
To make the change permanent, you will have to add that line to your ~/.profile
file.
Linux
If you installed LÖVE system-wide, love
most likely is already in PATH. Doesn't work? Consider restarting.
Otherwise, locate your love
binary and run
export PATH=$PATH:/path/to/folder/with/love/binary/
and add that your ~/.profile
file to make it permanent.
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info