Quick Tour of Pak
To install named packages:
pak install NAME...
Where NAME can be the name of a package published in the Pak catalog, NPM or bower catalog, a GitHub repository endpoint, a GitHub account/repository or a path to a local package directory. Here are some of the forms you can use to install packages.
pak install jquery pak install jquery pak install https://github.com/embedthis/jquery.git pak install email@example.com:embedthis/jquery pak install embedthis/jquery
When a package is installed, all required dependent packages will be automatically installed.
Installing Specific Versions
A PAK name may have a #version suffix that nominates a specific version to install.
pak install 'jquery#2.1.3'
To install all the packages required by an application as specified in its pak.json:
To uninstall a package from your local directory. The package will remain in the local Pak cache under ~/.paks.
pak uninstall PAK...
To list installed packages in your local directory:
The list will display the package name, installed version and from where the package was downloaded. Paks may designated as optional if the pak.json describes them in the 'optionalDependencies' list.
To display dependencies for installed packages in your local directory
This will display the installed packages and their dependencies with versions.
When Pak installs a package, it keeps a copy of the package in the Pak cache which is typically at ~/.paks. The cache stores all versions downloaded of a Pak.
To download and cache a package but not install in the local directory
pak cache Name
To prune old versions from the cache
pak prune Name