Cómo solucionar error aws --version: archivo no encontrado

¿Error 'aws: No such file or directory'? Aprende a solucionarlo añadiendo AWS CLI al PATH o creando un enlace simbólico. Guía paso a paso.

11 jun 2026 • 2 min read • Q2BSTUDIO Team

Cómo añadir AWS CLI al PATH y crear enlace simbólico

Cuando un equipo de desarrollo se encuentra con el error 'aws: command not found' tras haber instalado el AWS CLI, la frustración suele ser inmediata. Este fallo, aunque común, puede detener flujos de trabajo completos en la nube. La raíz del problema casi siempre reside en que el sistema operativo no localiza el binario aws dentro de las rutas definidas en la variable de entorno PATH. Sin embargo, existen soluciones estructurales que van más allá de un simple ajuste de variables y que permiten mantener un entorno de trabajo robusto y preparado para la escalabilidad.

Para resolverlo de forma definitiva, lo primero es verificar dónde se ha instalado realmente el ejecutable. Tras descargar e instalar el paquete awscliv2 siguiendo las instrucciones oficiales, el binario suele quedar en /usr/local/bin/aws. Si al ejecutar aws --version el sistema no lo encuentra, hay que asegurarse de que esa ruta esté incluida en el PATH. Editar el archivo de configuración del shell (~/.bashrc o ~/.zshrc) añadiendo export PATH=$PATH:/usr/local/bin y recargar el perfil con source ~/.bashrc suele ser el primer paso. Si aún así persiste, puede ser necesario crear un enlace simbólico: sudo ln -s /usr/local/bin/aws /usr/bin/aws o ajustar los permisos del directorio de instalación.

Más allá del parche inmediato, este tipo de incidencias revela la importancia de contar con un equipo que domine la infraestructura en la nube de forma integral. En Q2BSTUDIO, entendemos que entornos como servicios cloud AWS y Azure requieren configuraciones precisas y mantenimiento continuo. Nuestros especialistas en servicios inteligencia de negocio y ia para empresas integran herramientas como Power BI y agentes IA que se apoyan en APIs de AWS, por lo que garantizamos que cada capa de conexión (CLI, SDK, APIs) funcione sin errores.

Si tu organización está migrando o ya opera en la nube, una solución aislada no es suficiente. Se necesita un enfoque que combine ciberseguridad, automatización y supervisión. Por ejemplo, al diseñar aplicaciones a medida que consumen servicios de AWS, es crucial que las credenciales y los comandos de la CLI estén correctamente gestionados desde el inicio. Nuestro equipo ofrece software a medida que incluye pipelines de CI/CD donde la instalación de la AWS CLI se valida automáticamente, evitando estos errores en entornos de producción.

En resumen, el error 'aws: command not found' tiene una solución clara, pero lo más valioso es prevenir que vuelva a ocurrir y, sobre todo, saber cómo integrar estos componentes dentro de una arquitectura cloud bien gobernada. Desde Q2BSTUDIO ayudamos a las empresas a evitar estos cuellos de botella, ofreciendo además servicios inteligencia de negocio y consultoría en inteligencia artificial para que cada herramienta, desde la CLI hasta los agentes IA, opere de manera fluida y segura.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.

Live Chat