TechScript's built-in package manager allows you to manage dependencies, fetch external packages, and publish packages to the registry.
Creates a new package structure with a template package.toml in the current directory:
tech package init my_appDownloads and installs all dependencies listed in the package.toml file:
tech package installTo install a specific package and add it to package.toml:
tech package install http_helper@1.0.0Updates all dependencies to their newest allowed versions based on semver rules:
tech package updatePublishes your package to the official TechScript Package Registry:
tech package publishAll downloaded packages are stored globally in a central cache directory:
- Windows:
C:\Users\<user>\.techscript\cache - Linux/macOS:
~/.techscript/cache
During compilation, the compiler resolves imports by checking the local cache first before searching internet sources. See Packages Guide for details on metadata.