Docker must be installed on your machine, as Pack CLI relies on Docker to create and pull images.

Installing the Pack CLI
The installation process for the Pack CLI varies by operating system and distribution. For Ubuntu users, follow these steps to add the repository, update your package list, and install the CLI:Suggesting Builders
One of the first commands to explore ispack builder suggest. This command lists recommended builders that you can use to create images from your source code. These builders have been rigorously tested and are widely used in the community. To see the suggested builders, execute:
gcr.io/buildpacks/builder:google-22), which is based on Ubuntu 22.04 and supports a wide range of languages, as well as several options from Heroku and Paketo Buildpacks. If you have not created your own builder, simply choose one of these recommended options.
Building an Image
Once you’ve selected a builder, you can build an image using thepack build command. Specify the image name and select a builder with the --builder flag. To publish the image directly to Docker Hub or another container registry, include the --publish flag. For example:
cnbs/sample-builder:jammy builder. You can modify the builder image and image name as needed.