Skip to content

chainreactors/crtm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fork from https://github.com/projectdiscovery/pdtm

Intro

Chainreactors's Open Source Tool Manager

FeaturesInstallationUsageRunning crtm

crtm is a simple and easy-to-use golang based tool for managing open source projects from Chainreactors.

Installation

crtm requires go1.19 to install successfully. Run the following command to install the latest version:

  1. Install using go install -
go install -v github.com/chainreactors/crtm/cmd/crtm@latest
  1. Install by downloading binary from https://github.com/chainreactors/crtm/releases

Notes:

  • Currently, projects are installed by downloading the released project binary. This means that projects can only be installed on the platforms for which binaries have been published.
  • The path $HOME/.crtm/go/bin is added to the $PATH variable by default

Usage:

crtm is a simple and easy-to-use golang based tool for managing open source projects from ProjectDiscovery

Usage:
  ./crtm [flags]

Flags:
CONFIG:
   -config string            cli flag configuration file (default "$HOME/.config/crtm/config.yaml")
   -bp, -binary-path string  custom location to download project binary (default "$HOME/.crtm/go/bin")

INSTALL:
   -i, -install string[]  install single or multiple project by name (comma separated)
   -ia, -install-all      install all the projects
   -ip, -install-path     append path to PATH environment variables

UPDATE:
   -u, -update string[]         update single or multiple project by name (comma separated)
   -ua, -update-all             update all the projects
   -up, -self-update            update crtm to latest version
   -duc, -disable-update-check  disable automatic crtm update check

REMOVE:
   -r, -remove string[]  remove single or multiple project by name (comma separated)
   -ra, -remove-all      remove all the projects
   -rp, -remove-path     remove path from PATH environment variables

DEBUG:
   -sp, -show-path          show the current binary path then exit
   -version                 show version of the project
   -v, -verbose             show verbose output
   -nc, -no-color           disable output content coloring (ANSI escape codes)
   -disable-changelog, -dc  disable release changelog in output

Running crtm

$ crtm -install-all
[INF] Current crtm version v0.0.1
[INF] installing gogo...
[INF] installed gogo v2.13.2 (latest)
[INF] installing spray...
[INF] installed spray v0.9.9 (latest)
[INF] installing zombie...
[INF] installed zombie v1.2.0 (latest)

Thanks