{"id":49099,"date":"2025-04-14T14:41:58","date_gmt":"2025-04-14T14:41:58","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=49099"},"modified":"2025-07-12T05:56:24","modified_gmt":"2025-07-12T05:56:24","slug":"openshift-local-crc-command-lines-guide","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/openshift-local-crc-command-lines-guide\/","title":{"rendered":"Openshift Local: crc command lines guide"},"content":{"rendered":"\n<p>Here\u2019s a clean and well-structured <strong>table<\/strong> listing all the <code>crc<\/code> commands along with their descriptions:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Command<\/strong><\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td><code>bundle<\/code><\/td><td>Manage CRC bundles (download, add, list bundles for OpenShift)<\/td><\/tr><tr><td><code>cleanup<\/code><\/td><td>Undo system changes made by CRC setup (DNS, networking, etc.)<\/td><\/tr><tr><td><code>completion<\/code><\/td><td>Generate the autocompletion script for bash, zsh, etc.<\/td><\/tr><tr><td><code>config<\/code><\/td><td>Modify CRC configuration options (CPU, memory, etc.)<\/td><\/tr><tr><td><code>console<\/code><\/td><td>Open the OpenShift Web Console in the default browser<\/td><\/tr><tr><td><code>delete<\/code><\/td><td>Delete the CRC VM and cluster data<\/td><\/tr><tr><td><code>help<\/code><\/td><td>Show help about any CRC command<\/td><\/tr><tr><td><code>ip<\/code><\/td><td>Get the IP address of the running OpenShift cluster<\/td><\/tr><tr><td><code>oc-env<\/code><\/td><td>Add the <code>oc<\/code> (OpenShift CLI) executable to your system PATH<\/td><\/tr><tr><td><code>podman-env<\/code><\/td><td>Set environment variables to use <code>podman<\/code> with CRC<\/td><\/tr><tr><td><code>setup<\/code><\/td><td>Set up system prerequisites for CRC (run before first use)<\/td><\/tr><tr><td><code>start<\/code><\/td><td>Start the OpenShift cluster<\/td><\/tr><tr><td><code>status<\/code><\/td><td>Display the current status of the OpenShift cluster<\/td><\/tr><tr><td><code>stop<\/code><\/td><td>Stop the running cluster instance<\/td><\/tr><tr><td><code>version<\/code><\/td><td>Print CRC version, OpenShift version, and bundle information<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Here\u2019s a <strong>complete breakdown of each <code>crc<\/code> command<\/strong>, including explanations and multiple practical examples for each. This will help you master the <code>crc<\/code> CLI when working with your local OpenShift 4.x cluster.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd27 <code>crc<\/code> &#8211; Overview<\/h2>\n\n\n\n<p>CRC (CodeReady Containers) allows you to spin up a local single-node OpenShift 4 cluster ideal for testing and development. You run commands using:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml\">crc <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">command<\/span>&gt;<\/span> &#91;flags]\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2705 1. <code>crc start<\/code><\/h2>\n\n\n\n<p>Starts the local OpenShift cluster.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc start\n<\/code><\/span><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc start --memory 12288 --cpus 4\n<\/code><\/span><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Start the cluster with 12GB RAM and 4 CPUs.<\/p>\n<\/blockquote>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc start --log-level debug\n<\/code><\/span><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Start with detailed logs for troubleshooting.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\uded1 2. <code>crc stop<\/code><\/h2>\n\n\n\n<p>Stops the running OpenShift cluster.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc stop\n<\/code><\/span><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc stop\n<\/code><\/span><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Gracefully stops the cluster, freeing up system resources.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u274c 3. <code>crc delete<\/code><\/h2>\n\n\n\n<p>Completely deletes the CRC VM and data (non-reversible).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">crc <span class=\"hljs-keyword\">delete<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">crc <span class=\"hljs-keyword\">delete<\/span> --force\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Forcefully delete CRC without confirmation prompt.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2699\ufe0f 4. <code>crc setup<\/code><\/h2>\n\n\n\n<p>Prepares your system for running CRC (sets DNS, network, etc.).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc setup\n<\/code><\/span><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc setup\n<\/code><\/span><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Run this once before the first <code>crc start<\/code>.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udcca 5. <code>crc status<\/code><\/h2>\n\n\n\n<p>Shows the current state of the CRC VM and OpenShift cluster.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc status\n<\/code><\/span><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc status --log-level debug\n<\/code><\/span><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>View detailed status info for debugging.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83c\udf10 6. <code>crc console<\/code><\/h2>\n\n\n\n<p>Opens the OpenShift web console in your default browser.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">crc <span class=\"hljs-built_in\">console<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">crc <span class=\"hljs-built_in\">console<\/span> --credentials\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Displays login credentials along with opening the console.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd27 7. <code>crc config<\/code><\/h2>\n\n\n\n<p>View and modify CRC config settings.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml\">crc config <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">subcommand<\/span>&gt;<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc config view\n<\/code><\/span><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>See all current config settings.<\/p>\n<\/blockquote>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-7\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">crc config <span class=\"hljs-keyword\">set<\/span> memory 8192\ncrc config <span class=\"hljs-keyword\">set<\/span> cpus 4\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-7\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Set RAM and CPU for the cluster.<\/p>\n<\/blockquote>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-8\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">crc config <span class=\"hljs-keyword\">unset<\/span> memory\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-8\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Remove a previously set value.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd0d 8. <code>crc version<\/code><\/h2>\n\n\n\n<p>Displays CRC, OpenShift, and bundle versions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc version\n<\/code><\/span><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc version\n<\/code><\/span><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Useful for support or checking compatibility.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83c\udf0d 9. <code>crc ip<\/code><\/h2>\n\n\n\n<p>Gets the IP address of the running cluster.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc ip\n<\/code><\/span><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-9\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">export<\/span> CRC_IP=$(crc ip)\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-9\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Store the IP in a shell variable for use in scripts.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd04 10. <code>crc oc-env<\/code><\/h2>\n\n\n\n<p>Outputs environment variables to use <code>oc<\/code> CLI.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc oc-env\n<\/code><\/span><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-10\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\"><span class=\"hljs-built_in\">eval<\/span> $(crc oc-env)\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-10\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Sets up the shell so you can run <code>oc<\/code> commands directly.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83c\udf7b 11. <code>crc podman-env<\/code><\/h2>\n\n\n\n<p>Sets up environment for <code>podman<\/code> CLI to work with CRC.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc podman-env\n<\/code><\/span><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-11\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\"><span class=\"hljs-built_in\">eval<\/span> $(crc podman-env)\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-11\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Sets environment variables to use <code>podman<\/code> with the CRC container runtime.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83e\uddf9 12. <code>crc cleanup<\/code><\/h2>\n\n\n\n<p>Reverts changes CRC made to your system (use cautiously).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc cleanup\n<\/code><\/span><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc cleanup\n<\/code><\/span><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Removes system DNS, network, and other tweaks made by CRC setup.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udce6 13. <code>crc bundle<\/code><\/h2>\n\n\n\n<p>Manage OpenShift bundles (images and VM base files).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-12\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml\">crc bundle <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">subcommand<\/span>&gt;<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-12\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-13\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">crc bundle <span class=\"hljs-keyword\">list<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-13\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>List available bundles.<\/p>\n<\/blockquote>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-14\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">crc bundle add ~<span class=\"hljs-regexp\">\/Downloads\/<\/span>crc_libvirt_4<span class=\"hljs-number\">.13<\/span><span class=\"hljs-number\">.9<\/span>.crcbundle\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-14\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Add a new bundle manually.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd01 14. <code>crc completion<\/code><\/h2>\n\n\n\n<p>Generate shell completion scripts for bash, zsh, etc.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc completion bash\n<\/code><\/span><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc completion zsh &gt; ~\/.crc-completion.sh\n<\/code><\/span><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Then source the file in your <code>.zshrc<\/code>.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83c\udd98 15. <code>crc help<\/code><\/h2>\n\n\n\n<p>Displays help for any command.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Usage:<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-15\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml\">crc help\ncrc <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">command<\/span>&gt;<\/span> --help\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-15\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39Examples:<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">crc help start\n<\/code><\/span><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Detailed help for the <code>start<\/code> command.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2705 Flags (Global)<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>--log-level<\/code> (debug, info, warn, error)<\/li>\n\n\n\n<li><code>--help<\/code> &#8211; Show help for commands<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Would you like me to generate a <strong>cheat sheet image<\/strong> or <strong>step-by-step beginner tutorial<\/strong> for this?<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here\u2019s a clean and well-structured table listing all the crc commands along with their descriptions: Command Description bundle Manage CRC bundles (download, add, list bundles for OpenShift) cleanup Undo system&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5153],"tags":[],"class_list":["post-49099","post","type-post","status-publish","format-standard","hentry","category-openshift"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/49099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=49099"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/49099\/revisions"}],"predecessor-version":[{"id":49100,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/49099\/revisions\/49100"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=49099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=49099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=49099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}