Previous: , Up: CLPM Installation   [Contents][Index]


2.5.4.3 CLPM Quickstart

This section walks you through how to set it up, using the packages provided by the primary Quicklisp distribution.

Configure Quicklisp as a Source

Configure CLPM to use the primary Quicklisp distribution as a source for packages.

Configure ASDF

Configure ASDF to find the CLPM client. Assuming you haven’t modified your ASDF source registry too much, place the output of the following command at $HOME/.config/common-lisp/source-registry.conf.d/20-clpm-client.conf.

clpm client source-registry.d

Configure Lisp Implementation

Configure your favorite Lisp to load the client by placing the output of the following command in your Lisp’s init file (such as $HOME/.sbclrc).

clpm client rc

Start Lisp

Start your favorite Common Lisp implementation and enter into the default CLPM context.

(clpm-client:activate-context "default" :activate-asdf-integration t)

Sync Quicklisp Metadata

When using Quicklisp metadata directly, you need to sync in order to get all the metadata locally (other types of sources are able to lazily sync). This step will take a while the first time as it downloads and processes every version of the distribution.

(clpm-client:sync :sources "quicklisp")

Load a System

Now you can try loading a system, such as alexandria:

(asdf:load-system :alexandria)

CLPM will see that alexandria is not present locally and ask you if you would like to install it automatically.


Previous: Installing CLPM from Source, Up: CLPM Installation   [Contents][Index]