🔨 Configuration

import is configurable via the following environment variables:

NameDescription
IMPORT_CACHEThe directory where imported files will be cached.
Defaults to ~/.import-cache.
IMPORT_CURL_OPTSAdditional options to pass to curl. See the curl manpage for its docs.
IMPORT_DEBUGIf this variable is set, then debugging information related to import will be printed to stderr.
IMPORT_RELOADIf this variable is set, then all import calls will force-reload from the source URL.
IMPORT_TRACEPath to a filename to print imported URLs for tracing purposes.
IMPORT_SERVERThe server to use for namespaced imports.
Defaults to https://import.sh.