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