These are the docs for 13.8, an old version of SpatialOS.
The docs for this version are frozen: we do not correct, update or republish them.
14.5 is the newest →
spatial package get
Downloads a package with id (type, name, version) from Improbable's package service with local caching and saves it to the specified file location or saves the unzipped files to the specified directory when the –unzip flag is provided.
spatial package get <type> <name> <version> <file|directory> [flags]
Options
-f, --force Forces overwriting of the package file even if it already exists.
--unzip Unzip the downloaded package. The specified directory will be created if it does not exist.
Options inherited from parent commands
--json_output Print output in JSON format. Useful when you need to parse the Spatial CLI output.
--log_directory string Sets the directory log files will be created in. If not specified, this is set to <project_root>/logs when inside a project directory and logging is disabled when outside a project directory.
--log_level string Sets the log level. Available log levels: debug, info, warning, error, fatal, or panic.
--main_config string The path to your project's main configuration file (usually called spatialos.json)
--no_animation Disable dynamic output elements such as the spinner, progress bars, etc.