# calicoctl **Repository Path**: mirrors_coreos/calicoctl ## Basic Information - **Project Name**: calicoctl - **Description**: Calico CLI tool - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2025-12-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Build Status](https://semaphoreci.com/api/v1/calico/calicoctl/branches/master/shields_badge.svg)](https://semaphoreci.com/calico/calicoctl) [![CircleCI branch](https://img.shields.io/circleci/project/projectcalico/calicoctl/master.svg?label=calicoctl)](https://circleci.com/gh/projectcalico/calicoctl/tree/master) [![Slack Status](https://slack.projectcalico.org/badge.svg)](https://slack.projectcalico.org) [![IRC Channel](https://img.shields.io/badge/irc-%23calico-blue.svg)](https://kiwiirc.com/client/irc.freenode.net/#calico) # calicoctl This repository is the home of `calicoctl`.
Note that the documentation in this repo is targeted at Calico contributors.

Documentation for Calico users is here:
http://docs.projectcalico.org

For information on `calicoctl` usage, see the [calicoctl reference information](http://docs.projectcalico.org/master/reference/calicoctl/) ### Developing Print useful actions with `make help`. ### Building `calicoctl` There are two ways to build calicoctl: natively, and dockerized ##### Dockerized Builds For simplicity, `calicoctl` can be built in a Docker container, eliminating the need for any dependencies in your host developer environment, using the following command: ``` make dist/calicoctl ``` The binary will be put in `./dist`: ``` ./dist/calicoctl --help ``` ##### Native Builds 1. Assuming you have already installed **go version 1.7.1+**, ensure you've cloned this repository into your Go project path. ``` git clone https://github.com/projectcalico/calicoctl.git $GOPATH/src/github.com/projectcalico/calicoctl ``` 1. [Install Glide](https://github.com/Masterminds/glide#install). 2. Populate the `vendor/` directory in the project's root with this project's dependencies: ``` glide install -strip-vendor ``` 3. Build the binary: ``` make binary ``` ## Tests Tests can be run in a container to ensure all build dependencies are met. To run the tests ``` make ut ``` To run the tests in a container ``` make test-containerized ```