You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
heetbeet edited this page Sep 29, 2022
·
5 revisions
This page describes how to set a System Variable / Environment Variable in JuliaWin.
JuliaWin Base
The base script (See activate-juliawin-environment.bat) defines...
Variables for Juliawin internal use:
juliawin_home = absolute path of base directory
juliawin_bin = %juliawin_home%\bin
juliawin_packages = %juliawin_home%\packages
juliawin_userdata = %juliawin_home%\userdata
juliawin_sh = %juliawin_packages%\git\bin\sh.exe, or %PROGRAMFILES<(x86)>%\Git\bin\sh.exe, or sh.exe relative to where git
juliawin_activated = 1
Variables for internally wrapped programs:
JULIA_DEPOT_PATH = %juliawin_userdata%\.julia
CONDA_JL_HOME = %juliawin_packages%\conda
PYTHON = set to empty by making use of %JULIA_DEPOT_PATH%\config\startup.jl (since cmd can't set empty variables)
Paths added to PATH:
%juliawin_packages%\julia\bin
%juliawin_packages%\curl\bin
%juliawin_packages%\vscode
User Controlled System Variables
The user may edit userdata\startup.cmd or userdata\startup.bat as an auxiliary batch file to set the environment.
This allows the user to update the path, add more variables, or run any custom code required before launching Julia or other binaries.
For the implementation, see https://github.com/heetbeet/juliawin/issues/64.