• Home
  • Reviews
  • Privacy Policy
  • Cookie Policy

HotSource

Menu
  • Home Automation
  • Gaming
  • Programming
  • Security
  • AdTech
Home
 / 
Programming
JavaScript
NodeJS
Switch NPM CLI user easily with npm-user-switch

Switch NPM CLI user easily with npm-user-switch

Perry August 23, 2019 JavaScript, NodeJS, Productivity, Shell, Software No Comments

I work with several NPM accounts on a daily basis – one for work and a couple for my open source work. npm login is a pain, which is why I wrote npm-user-switch: A simple CLI tool to help easily manage switching accounts without having to remember each accounts password. You add the accounts to the app, set one master password (like with a password manager), and use that each time you want to switch account.

npm-user-switch menu
Easily switch accounts graphically from the CLI application

Once installed, simply run npm-user-switch on the command line to launch the app. You’ll need to set the password the first time you use it. Add your accounts and configure how they’re named, then simply switch between them with ease.

npm-user-switch actually uses Buttercup (NodeJS password manager) under the hood to store credentials, so you can be sure they’re encrypted and kept safe.

submit Tweet

About The Author

Perry

Aussie web and applications developer, living in Finland. Building secure, OSS: Buttercup Password Manager. Head of Engineering at Kiosked (adtech).

Related Posts

0
Transfer Files to Remote Servers using SCP
0
Bash Script for Renewing Let’s Encrypt Certificates
0
View Remote Server Windows Using SSH X11 Forwarding
0
IPVanish Review: An Easy-To-Use, Cost-friendly & Secure VPN

Related

  • Encrypting Text using AES-CBC in NodeJS
    August 20, 2019
    Encryption allows an actor to obscure data in a day …
  • Transfer Files to Remote Servers using SCP
    April 29, 2019
    SCP (Secure Copy) is a Linux/Unix utility for copying files …
  • IPVanish Review: An Easy-To-Use, Cost-friendly & Secure …
    May 12, 2019
    VPN services, like IPVanish, allow you to connect to web …
  • Using CSS to Style console.log Output
    May 2, 2019
    The browser console is the place to start when debugging …
  • Free Team Time-Tracking: Clockify Review
    May 7, 2019
    Time tracking is a basic workplace principle dating back to …

Popular

    Tags

    account adstxt adtech apple bash browser buttercup curl debugging dosbox encryption fps free freelance graphics homekit npm open source password manager philips hue publishers ray casting reporting session ssh ssl torrenting viewability vpn wireless zigbee

    RSS HotSource.dev Feed

    • Switch NPM CLI user easily with npm-user-switch
    • Encrypting Text using AES-CBC in NodeJS
    • Bash Script for Renewing Let’s Encrypt Certificates
    • The “my ads.txt is too big” myth
    HotSource Copyright © 2025.
    Owned and Operated by Perry Mitchell
    This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptReject Read More
    Privacy & Cookies Policy

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled

    Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

    Non-necessary

    Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.