Self contained virtual environments for Julia.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Micah Halter 0b41fb0fb4
Added Comonicon and Prepare v1.0 Release (#2)
1 month ago
.github/workflows Added Comonicon and Prepare v1.0 Release (#2) 1 month ago
assets Cleaned up code structure 6 months ago
deps Added Comonicon and Prepare v1.0 Release (#2) 1 month ago
docs Added Comonicon and Prepare v1.0 Release (#2) 1 month ago
src Added Comonicon and Prepare v1.0 Release (#2) 1 month ago
.gitignore Initial push 6 months ago
CHANGELOG.md Updated documentation and prepared for initial release for v0.1.0 6 months ago
LICENSE Initial commit 6 months ago
Project.toml Added Comonicon and Prepare v1.0 Release (#2) 1 month ago
README.md Added Comonicon and Prepare v1.0 Release (#2) 1 month ago

README.md

VirtualEnv.jl

Documentation

VirtualEnv.jl provides support for creating lightweight “virtual environments” with their own site directories, isolated from system site directories. Each virtual environment has its own Julia binary (which matches the version of the binary that was used to create this environment) and can have its own independent set of installed Julia packages in its site directories.

Supported Shells

  • Bash
  • ZSH
  • Windows Command Prompt

Upcoming

  • Fish
  • CSH
  • Powershell

Installation

~$ julia -e 'using Pkg; Pkg.add("VirtualEnv")'

add ~/.julia/bin to your PATH, or you can install paths automatically with

using VirtualEnv; VirtualEnv.comonicon_install_path()

Usage

  venv

Creates virtual Julia environments in one or more target directories.

Usage

  venv [options] [flags] <env_dirs>

Args

  <env_dirs>               One or more directories to create environments in.

Options

  -p, --prompt <prompt>    Provides an alternative prompt prefix for this
                           environment.(Default: ENV_DIR)

Flags

  -c, --clear              Delete the contents of the environment directory if it
                           alreadyexists. (Default: false)

  -u, --upgrade            Upgrade the environment directory to use this version
                           ofJulia. (Default: false)

  -h, --help               print this help message

  -V, --version            print version information

Print help dialogue:

~$ venv -h

Creating a virtual environment:

~$ venv env

Activating the virtual environment:

~$ source env/bin/activate

Deactivating an environment:

~$ deactivate