Setup
x86 means 32-bit, x64 means 64 bit
Technically x86 simply refers to a family of processors and the instruction set they all use. It doesn't actually say anything specific about data sizes.
x86 started out as a 16-bit instruction set for 16-bit processors (the 8086 and 8088 processors), then was extended to a 32-bit instruction set for 32-bit processors (80386 and 80486), It used to be written as 80x86 to reflect the changing value in the middle of the chip model numbers, but somewhere along the line the 80 in the front was dropped, leaving just x86.
Now, it has been extended to a 64-bit instruction set for 64-bit processors.
The first name for the 64-bit extension to the x86 set was called x86-64.
Blame the Pentium and it's offspring for changing the way in which processors were named and marketed, although all newer processors using Intel's x86 instruction set are still referred to as x86, i386, or i686 compatible (which means they all use extensions of the original 8086 instruction set).
The term "x64" really should only be used to refer to Itanium's 64-bit architecture. The 64-bit evolution of the x86 architecture (sometimes called AMD64 or EM64T) should really be called x86-64, since it's a 64-bit extension of the x86 architecture.
Package manager
OS | Package manager | Example | |
---|---|---|---|
macOS | Homebrew | brew install yarn | |
Windows | Chocolatey | choco install yarn | |
Linus (Debian, Ubuntu) | sudo apt-get update && sudo apt-get install yarn | ||
Unix | `curl -o- -L https://yarnpkg.com/install.sh \ | bash` |
Dev tools
- Node
Windows
Download node msi
https://nodejs.org/en/download/
Double-click the installer. Click through the wizard, leaving the defaults.
macOS
brew update
brew install node
- npm
npm (node package manager) is included in the Node.js installation
- yarn
You can also install Yarn through the npm package manager if you already have it installed.
npm install --global yarn
Note: Installation of Yarn via npm is generally not recommended. When installing Yarn with Node-based package managers, the package is not signed, and the only integrity check performed is a basic SHA1 hash, which is a security risk when installing system-wide apps. For these reasons, it is highly recommended that you install Yarn through the installation method best suited to your operating system.
git
brew install git
cntlm
brew services start cntlm brew services list brew services stop cntlm
PATH
Unix/Linux/macOS
export PATH="$PATH:/opt/yarn-[version]/bin"
Windows
set PATH=%PATH%;C:\.yarn\bin