mkdir -p /path/to/desired/location
cd /path/to/desired/location
git clone https://github.com/DilumAluthge/OfflineRegistry
cd OfflineRegistry
# vim offline.toml # Edit offline.toml to meet your requirements
# git add -A
# git commit -m 'Update offline.toml'
export REGISTRY_NAME="MyAwesomeOfflineRegistry"
export REGISTRY_UUID="e8565a5e-8849-4686-8239-e2115313d19d" # Don't use this UUID; generate your own
export GIT_USER_NAME="Myfirstname Mylastname"
export GIT_USER_EMAIL="someone@example.com"
julia make.jl "$REGISTRY_NAME" "$REGISTRY_UUID" "$GIT_USER_NAME" "$GIT_USER_EMAIL"
julia> include("/path/to/desired/location/OfflineRegistry/startup.jl")
julia> include("/path/to/desired/location/OfflineRegistry/default-environment.jl")
julia> import Pkg
julia> Pkg.add(["list", "of", "packages", "to", "add"])