• excitingburp@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    3 个月前

    export PATH=$PATH:/mypath1:/mypath2 in ~/.profile. Means “add :/mypath1:/mypath2 to what is already in $PATH.” If you need the entire system to be aware, set or update it in /etc/environment with PATH=...