CINXE.COM

Just a moment...

<!DOCTYPE html><html lang="en-US"><head><title>Just a moment...</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=Edge"><meta name="robots" content="noindex,nofollow"><meta name="viewport" content="width=device-width,initial-scale=1"><style>*{box-sizing:border-box;margin:0;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%;color:#313131;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}body{display:flex;flex-direction:column;height:100vh;min-height:100vh}.main-content{margin:8rem auto;max-width:60rem;padding-left:1.5rem}@media (width <= 720px){.main-content{margin-top:4rem}}.h2{font-size:1.5rem;font-weight:500;line-height:2.25rem}@media (width <= 720px){.h2{font-size:1.25rem;line-height:1.5rem}}#challenge-error-text{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0IyMEYwMyIgZD0iTTE2IDNhMTMgMTMgMCAxIDAgMTMgMTNBMTMuMDE1IDEzLjAxNSAwIDAgMCAxNiAzbTAgMjRhMTEgMTEgMCAxIDEgMTEtMTEgMTEuMDEgMTEuMDEgMCAwIDEtMTEgMTEiLz48cGF0aCBmaWxsPSIjQjIwRjAzIiBkPSJNMTcuMDM4IDE4LjYxNUgxNC44N0wxNC41NjMgOS41aDIuNzgzem0tMS4wODQgMS40MjdxLjY2IDAgMS4wNTcuMzg4LjQwNy4zODkuNDA3Ljk5NCAwIC41OTYtLjQwNy45ODQtLjM5Ny4zOS0xLjA1Ny4zODktLjY1IDAtMS4wNTYtLjM4OS0uMzk4LS4zODktLjM5OC0uOTg0IDAtLjU5Ny4zOTgtLjk4NS40MDYtLjM5NyAxLjA1Ni0uMzk3Ii8+PC9zdmc+);background-repeat:no-repeat;background-size:contain;padding-left:34px}@media (prefers-color-scheme:dark){body{background-color:#222;color:#d9d9d9}}</style><meta http-equiv="refresh" content="390"></head><body class="no-js"><div class="main-wrapper" role="main"><div class="main-content"><noscript><div class="h2"><span id="challenge-error-text">Enable JavaScript and cookies to continue</span></div></noscript></div></div><script>(function(){window._cf_chl_opt={cvId: '3',cZone: "stackoverflow.com",cType: 'managed',cRay: '8e70787f79e087f3',cH: 'Lbddg4Ynd_993yRqXvpdHZ16WLYdgQmrmhPx_8F3NN4-1732357688-1.2.1.1-BDvCWq6y1kckd2O4BI08d9Rl64KVH.zzokja1x3285SdBDvp4pmQFYtHTnjmyavX',cUPMDTk: "\/questions\/68236007\/i-am-getting-error-cmdline-tools-component-is-missing-after-installing-flutter?__cf_chl_tk=KzyiHqQQXTOwyE.TyS27FEBjmTdmHGHDA4S969VtwyM-1732357688-1.0.1.1-R1aMCSorjjGvBFpFtUodnYcj2nFfrYL15_9UDUmFTxc",cFPWv: 'g',cITimeS: '1732357688',cTTimeMs: '1000',cMTimeMs: '390000',cTplC: 0,cTplV: 5,cTplB: 'cf',cK: "",fa: "\/questions\/68236007\/i-am-getting-error-cmdline-tools-component-is-missing-after-installing-flutter?__cf_chl_f_tk=KzyiHqQQXTOwyE.TyS27FEBjmTdmHGHDA4S969VtwyM-1732357688-1.0.1.1-R1aMCSorjjGvBFpFtUodnYcj2nFfrYL15_9UDUmFTxc",md: "p96AUw5jHX0fmwpY0ZepuLZQL83ym50EvP16KA6wMoE-1732357688-1.2.1.1-9Cy2p4A5sTzeZ633H5N3hN_MpYgwJrRVzwtzPNI6YKEqbfJPoUBtAuMMR03qQoWNihzfzP58TzfqJOVdk_o_aftmqWSNHyd9cRsT5LZta26U4rSHURJbQDeEKEz0i0zlkH5KwriOH6WaR3e1PswUbRuNO_KnSL2nV8VrrJEalmaHiHfIAavIxpKbmt.BJigcLvAA9V5S0LMnaT4m2KfOO_PVN0f07N5tApq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2CFBJyp4JdHOO5vrlzMO152YFouZO9emAnXqDmREu_Ii1ac9P32AapxI4ieFglJn41tiL6t3zNR4GdBVJyImmOICXT_MS_QYq9C7DdKbcAZoldmdgXKbfgH6MX1DZKGLJ.cAQJqW1Yj8_C6Q_mjMU8OykCgUDGkmpQot1XvktxBAn7E2PULOaaTgjNFxhJdwjayErk2B3PAUrZgUDy8xWX_vPXg003b50DXoAK._Mi1P_5bpGB5Oyd.qZ9n3WvH0oWgEoICtKJ.c71AGYnwLwxQqJwRV5w7ACs6ztbiBtxQ5j.l8dVB7IDL_Q7e7f1CTu0s2gz_joR5BGUxbQLvb4x_nOqhB4o90JC766UDBw1z8.xoKaMY3Vdd4LIqzzF4tXAOvMNc_t4yjb84cKpHNTgDtrA2RG611CUa86eYTG2nwB3UHtX7w1SOTjNugAsFifB0wn60mIVe8ia2ahwhbCebIXFvZ_EYAD0GMN71Qa45yxP79.sZUlGm7fcW9fvln_TG1k0U4cMgG_IYLAyqygxWhD0kecnrWnLZcY3vwVRqRdcZGhhTrSqT83j7hiBjWHcff.88Emwc1VH42GZAr7dnvywwtKd7dos7iOxR9BM95pDuICuS2jMwc44JncyKOzczQWJgC"};var cpo = document.createElement('script');cpo.src = '/cdn-cgi/challenge-platform/h/g/orchestrate/chl_page/v1?ray=8e70787f79e087f3';window._cf_chl_opt.cOgUHash = location.hash === '' && location.href.indexOf('#') !== -1 ? '#' : location.hash;window._cf_chl_opt.cOgUQuery = location.search === '' && location.href.slice(0, location.href.length - window._cf_chl_opt.cOgUHash.length).indexOf('?') !== -1 ? '?' : location.search;if (window.history && window.history.replaceState) {var ogU = location.pathname + window._cf_chl_opt.cOgUQuery + window._cf_chl_opt.cOgUHash;history.replaceState(null, null, "\/questions\/68236007\/i-am-getting-error-cmdline-tools-component-is-missing-after-installing-flutter?__cf_chl_rt_tk=KzyiHqQQXTOwyE.TyS27FEBjmTdmHGHDA4S969VtwyM-1732357688-1.0.1.1-R1aMCSorjjGvBFpFtUodnYcj2nFfrYL15_9UDUmFTxc" + window._cf_chl_opt.cOgUHash);cpo.onload = function() {history.replaceState(null, null, ogU);}}document.getElementsByTagName('head')[0].appendChild(cpo);}());</script></body></html>