using Pkg
Pkg.add("GR")
using GR
Updating registry at `~/.julia/registries/General` Updating git-repo `https://github.com/JuliaRegistries/General.git` Resolving package versions... Updating `~/.julia/environments/v1.0/Project.toml` [no changes] Updating `~/.julia/environments/v1.0/Manifest.toml` [no changes]
ENV["GKSwstype"]="svg"
histogram(randn(10000))