-
Notifications
You must be signed in to change notification settings - Fork 1
Installing packages
Oleh Saveniuk edited this page May 13, 2020
·
4 revisions
- 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
- Open your project folder from your IDE
- Add package.json by typing
npm init
at the command line
- 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}