EnglishFrenchSpanish

OnWorks favicon

npm-dist-tag - Online in the Cloud

Run npm-dist-tag in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command npm-dist-tag that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


npm-dist-tag - Modify package distribution tags

SYNOPSIS


npm dist-tag add <pkg>@<version> [<tag>]
npm dist-tag rm <pkg> <tag>
npm dist-tag ls [<pkg>]

DESCRIPTION


Add, remove, and enumerate distribution tags on a package:

add Tags the specified version of the package with the specified tag, or the --tag
config if not specified.

rm Clear a tag that is no longer in use from the package.

ls Show all of the dist-tags for a package, defaulting to the package in the current
prefix.

A tag can be used when installing packages as a reference to a version instead of using a
specific version number:

npm install <name>@<tag>

When installing dependencies, a preferred tagged version may be specified:

npm install --tag <tag>

This also applies to npm dedupe.

Publishing a package sets the "latest" tag to the published version unless the --tag
option is used. For example, npm publish --tag=beta.

PURPOSE


Tags can be used to provide an alias instead of version numbers. For example, npm
currently uses the tag "next" to identify the upcoming version, and the tag "latest" to
identify the current version.

A project might choose to have multiple streams of development, e.g., "stable", "canary".

CAVEATS


This command used to be known as npm tag, which only created new tags, and so had a
different syntax.

Tags must share a namespace with version numbers, because they are specified in the same
slot: npm install <pkg>@<version> vs npm install <pkg>@<tag>.

Tags that can be interpreted as valid semver ranges will be rejected. For example, v1.4
cannot be used as a tag, because it is interpreted by semver as >=1.4.0 <1.5.0. See
https://github.com/npm/npm/issues/6082.

The simplest way to avoid semver problems with tags is to use tags that do not begin with
a number or the letter v.

Use npm-dist-tag online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 2
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 3
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 5
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands

Ad