Skip to content

Installing packages

Oleh Saveniuk edited this page May 13, 2020 · 4 revisions

Pre-install settings

  • Install Node.js
  • Make sure your $HOME/.npmrc has the following settings:

@verybigthings:registry=https://npm.pkg.github.com //npm.pkg.github.com/:_authToken=your_personal_access_token

  • Check if you have access to packages
  • See the list of packages to select which ones you want to install, and also check the available version of the package

New project preparing

  • Open your project folder from your IDE
  • Add package.json by typing npm init at the command line

Package installation

  • Go into package.json and add the name and version of the package to your dependencies:

"dependencies": { "@verybigthings/{name}": "{version}" }

  • Then use the following command:

npm install

  • Or you can simply install a package manually:

npm install @verybigthings/{name}@{version}

  • Package will be installed in node_modules/@verybigthings/{name}
Clone this wiki locally