Home > Topic List > How to set linux environment variables
Steps to set Linux environment variables: 1. Use the command line tool (Terminal) to open the terminal; 2. Enter the command `vim ~/.bashrc/ in the terminal; 3. Open the user's Bash environment configuration file in the open vim editor , navigate to the end of the file, and then add the required environment variable information; 4. Modify the saved file, enter `:wq` in the vim editor to save and exit; 5. Run `source ~/.bashrc` in the current terminal window command to make the added environment variables take effect immediately.
4525 times of learning
Collection16311 times of learning
Collection62664 times of learning
Collection23428 times of learning
Collection