This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | |
#!/usr/bin/env bash | |
{ # this ensures the entire script is downloaded # | |
nvm_has() { | |
type "$1" > /dev/null 2>&1 | |
} | |
nvm_default_install_dir() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ echo $0 | |
zsh | |
➜ ~ cat ~/.zshrc | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/home/ivan/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated | |
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated | |
npm ERR! code EEXIST | |
npm ERR! path /home/ivan/.npm/bin/gulp | |
npm ERR! EEXIST: file already exists | |
npm ERR! File exists: /home/ivan/.npm/bin/gulp | |
npm ERR! Remove the existing file and try again, or run npm | |
npm ERR! with --force to overwrite files recklessly. | |
npm ERR! A complete log of this run can be found in: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input: | |
npm install --global gulp-cli | |
output: | |
npm ERR! code ENOENT | |
npm ERR! syscall lstat | |
npm ERR! path /home/ivan/.npm/lib | |
npm ERR! errno -2 | |
npm ERR! enoent ENOENT: no such file or directory, lstat '/home/ivan/.npm/lib' | |
npm ERR! enoent This is related to npm not being able to find a file. |