Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Ansible
Ansible

4.9K
3.5K
+ 1
1.2K
npm
npm

18.4K
13.9K
+ 1
1.6K
Add tool

Ansible vs npm: What are the differences?

Developers describe Ansible as "Radically simple configuration-management, application deployment, task-execution, and multi-node orchestration engine". Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. Ansible’s goals are foremost those of simplicity and maximum ease of use. On the other hand, npm is detailed as "The package manager for JavaScript". npm is the command-line interface to the npm ecosystem. It is battle-tested, surprisingly flexible, and used by hundreds of thousands of JavaScript developers every day.

Ansible and npm are primarily classified as "Server Configuration and Automation" and "Front End Package Manager" tools respectively.

"Agentless", "Great configuration " and "Simple" are the key factors why developers consider Ansible; whereas "Best package management system for javascript", "Open-source" and "Great community" are the primary reasons why npm is favored.

Ansible and npm are both open source tools. Ansible with 38.2K GitHub stars and 16K forks on GitHub appears to be more popular than npm with 17.2K GitHub stars and 3.17K GitHub forks.

According to the StackShare community, npm has a broader approval, being mentioned in 2644 company stacks & 2670 developers stacks; compared to Ansible, which is listed in 961 company stacks and 589 developer stacks.

What is Ansible?

Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. Ansible’s goals are foremost those of simplicity and maximum ease of use.

What is npm?

npm is the command-line interface to the npm ecosystem. It is battle-tested, surprisingly flexible, and used by hundreds of thousands of JavaScript developers every day.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Ansible?
Why do developers choose npm?

Sign up to add, upvote and see more prosMake informed product decisions

Jobs that mention Ansible and npm as a desired skillset
What companies use Ansible?
What companies use npm?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Ansible?
What tools integrate with npm?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Ansible and npm?
Puppet Labs
Puppet is an automated administrative engine for your Linux, Unix, and Windows systems and performs administrative tasks (such as adding users, installing packages, and updating server configurations) based on a centralized specification.
Chef
Chef enables you to manage and scale cloud infrastructure with no downtime or interruptions. Freely move applications and configurations from one cloud to another. Chef is integrated with all major cloud providers including Amazon EC2, VMWare, IBM Smartcloud, Rackspace, OpenStack, Windows Azure, HP Cloud, Google Compute Engine, Joyent Cloud and others.
Salt
Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds. Salt delivers a dynamic communication bus for infrastructures that can be used for orchestration, remote execution, configuration management and much more.
Terraform
With Terraform, you describe your complete infrastructure as code, even as it spans multiple service providers. Your servers may come from AWS, your DNS may come from CloudFlare, and your database may come from Heroku. Terraform will build all these resources across all these providers in parallel.
Jenkins
In a nutshell Jenkins CI is the leading open-source continuous integration server. Built with Java, it provides over 300 plugins to support building and testing virtually any project.
See all alternatives
Decisions about Ansible and npm
No stack decisions found
Interest over time
Reviews of Ansible and npm
No reviews found
How developers use Ansible and npm
Avatar of Cloudcraft
Cloudcraft uses AnsibleAnsible

Ansible is the deployment tool for people who don't like deployment tools. It's close to scripting, doesn't pollute your servers with agents or centralized servers, and just makes immediate sense. The entire stack at Cloudcraft.co is orchestrated by Ansible. What does that mean? Beyond the obvious of installing packages and configuring services, Ansible coordinates all the machines into a working deployment: It adds API servers to the loadbancer pool, opens ports on the DB server for the backend servers to connect, gracefully upgrades services in a rolling fashion for zero-downtime deployments etc. And it's so easy to use, it's easier to use than doing things by hand, meaning it's a deployment tool you'll actually use every time!

Avatar of lispur
lispur uses npmnpm

Utilize npm private module to package shared library for different React / React Native clients. Shareable code goes here. Basically deliver Redux Store with Firebase integration and business logic in a library. Each React app utilizes this while delivering a device/target specific UI.

Avatar of Refractal
Refractal uses npmnpm

If you're using Node or Gulp, you can't help but use NPM in some form or another. Fortunately that's never a bad thing with the massive package repository and glowing ecosystem making it a breeze to work with.

Avatar of Scrayos UG (haftungsbeschränkt)
Scrayos UG (haftungsbeschränkt) uses AnsibleAnsible

We use Ansible to synchronize the few configuration-options we've taken on our CoreOS-Machines. This makes deployment even easier and the fact that it's Agentless made the decision even easier.

Avatar of Bob P
Bob P uses AnsibleAnsible

Ansible is used in both the development and production deployment process. A playbook couple with a Vagrantfile, easy deploys a local virtual machine that will mirror the setup in production.

Avatar of sapslaj
sapslaj uses AnsibleAnsible

I use Ansible to manage the configuration between all of the different pieces of equipment, and because it's agentless I can even manage things like networking devices all from one repo.

Avatar of Bùi Thanh
Bùi Thanh uses AnsibleAnsible
  • Configuration management:
    • deploy/install all web/app environments
    • simple with Galaxy and playbooks.
  • No need any pre-installed agent on remote servers.
Avatar of Oomba
Oomba uses npmnpm

We manages all of our packages, including Angular JS through npm. It is a very quick way of downloading / installing packages into your project.

Avatar of Thibault Maekelbergh
Thibault Maekelbergh uses npmnpm

Module is published as bpost on the npm registry. Tasks for the module are also defined as npm run tasks with commit hooks for git

Avatar of Andrew Gatenby
Andrew Gatenby uses npmnpm

It's the front-end version of Composer, so is pretty essential to pull in packages that can be tracked and kept up to date.

How much does Ansible cost?
How much does npm cost?
Pricing unavailable