Commit bb25c719 authored by Vincent Tam's avatar Vincent Tam

Post: publish Oh My Zsh & NVM

parent 38f38430
Pipeline #29556230 passed with stages
in 1 minute and 42 seconds
title: "Zsh and NPM Setup on Ubuntu"
subtitle: "Automate settings with Oh My Zsh"
date: 2018-09-06T13:00:53+02:00
type: post
- technical support
- zsh
- npm
draft: false
### Problem
After installing NPM throught Ubuntu's default `apt-get` manager, I got
[permission errors][so-npm]. Though `sudo` can solve the problem, that's _not_
the right way in principle because NPM is supposed to hold different versions of
Node.js packages for testing. It's _insecure_ to execute `npm` with `sudo`
### Solutions
1. Install Zsh to improve efficiency
2. Grab [Oh My Zsh][ohmyzsh] to instal NVM as its plugin.
sh -c "$(curl -fsSL"
3. Use NVM (NPM Version Manager) to manage NPM.
4. Use NPM to manage Node.js.
### External links
1. [Linux hint][lh]
2. [Sven Boekhoff's Zsh install and setup guide][sb]
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment