Before we can create an environment or deploy any bundles, we must add some bundles to inventory. This is done using the bw add command.
Add the sample bundles included with BundleWorks to inventory using the following commands. We will use the `$HOME/works/bundles` directory for the bundles.
bw add $BUNDLEWORKS_HOME/tutorial/helloserver-1.0.tgz $HOME/works/bundles bw add $BUNDLEWORKS_HOME/tutorial/helloserver-2.0.tgz $HOME/works/bundles
Verify that the bundles are available by using bw list available (Note: You will see your home directory name instead of '/home/admin' in the output):
$ bw list available /home/admin/works/bundles/helloserver/1.0 /home/admin/works/bundles/helloserver/2.0
Remove the last bundle added using the bw remove command. (We will add it again later.) Use the bw list available command to verify that it has been removed.
bw remove $HOME/works/bundles/helloserver/2.0
BundleWorks allows multiple versions of a "bundle" to co-exist. As we'll see in later in the tutorial, BundleWorks also allows instances of these bundles to be deployed and run within multple environments.