Homebrew

Homebrew

August 10, 2022
Homebrew, brew, Mac, macOS

Overview # Homebrew is a package maneger for macOS. Install # /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Command # Show help. brew help Update Homebrew itself. brew update Update packages. brew upgrade Install a package. brew install <package name> e.g. brew install wget Search a package. brew search <package name> brew search /regex/ List all installed packages. brew list List all installed packages with parent directories brew list -v Uninstall an package. ...

Node.js

January 1, 2020
Node.js, nodebrew, Homebrew

Node.js # Install nodebrew (using Homebrew) # nodebrew is the package manager for Node.js. You can install multiple versions of Node.js and switch between them etc. $ brew install nodebrew $ which nodebrew /usr/local/bin/nodebrew $ nodebrew -v nodebrew 1.1.0 $ nodebrew setup ... Install Node.js # Check installable versions # $ nodebrew ls-remote Install # $ nodebrew install-binary latest Check current version # $ nodebrew ls v16.10.0 current: none Apply specific version # $ nodebrew use v16. ...