To install the cookbook using Knife, use the command below:
knife artifactory install <cookbook-name> [VERSION]
Example
# Install the latest version of the 'nginx' cookbook from Artifactory knife artifactory install nginx # OR install a specific version of the 'nginx' cookbook (for example, version 2.3.0) knife artifactory install nginx 2.3.0