sudo nano /etc/environment

Category: Self-Hosting

sudo nano /etc/environment

Edit system-wide environment variables that apply to all users and services

System-wide environment variables set here are available to all users and services at login. Use for machine-global settings like JAVA_HOME or LANG.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.