module

Crimson::ENV

Constants

LIBRARY = Path[::ENV["XDG_DATA_HOME"]? || (((Path.home / ".local") / "share") / "crimson")]
LIBRARY_BIN = LIBRARY / "bin"
LIBRARY_BIN_CRYSTAL = LIBRARY_BIN / "crystal"
LIBRARY_BIN_SHARDS = LIBRARY_BIN / "shards"
LIBRARY_CRYSTAL = LIBRARY / "crystal"
MIN_VERSION = SemanticVersion.new(1, 2, 0)
TARGET_BIN_CRYSTAL = "/usr/local/bin/crystal"
TARGET_BIN_SHARDS = "/usr/local/bin/shards"
TARGET_IDENTIFIER = "1-linux-x86_64.tar.gz"

Class methods

decompress(root : Path, path : String, debug : Bool) : Nil
Source
fetch_from_version(req : String | Nil) : String | Nil
Source
fetch_versions
Source
install_additional_dependencies(prompt : Bool) : Nil
Source
install_dependencies(prompt : Bool) : Nil
Source
installed?(version : String) : Bool
Source
installed_versions
Source
setup_executable_paths
Source
switch(path : Path) : Nil
Source