Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.15 KB

_index.md

File metadata and controls

47 lines (33 loc) · 1.15 KB
title summary
spk
Package Manager for SPFS

A packaging system and package manager for spkrs. Pronouced like "s-pack", or "S.P.K".

The spk command line has a great number of useful commands to explore, simply run spk --help to explore.

Run an Environment

# enter a shell envrionment with an existing package installed
$ spk env python/2
$ which python
/spfs/bin/python

# or run a command directly
$ spk env python/2 -- python

Check the Version Semantics for help on how to request packages.

Create a Package

# generate a basic spec file to get started
$ spk new my-pkg

# make any necessary changes to the file and then build it
$ spk build

# run environments using locally built packages
$ spk env --local my-pkg

Use the Package Definition Guide for more details. Check the included examples for additional help.

For more detailed information on the build process, check the Package Build Process

Publish a Package

# publish a locally built package for others to use
$ spk publish my-pkg/0.1.0