Install the DeepSource CLI to interact with DeepSource from your terminal.
deepsource
binary in ./bin/deepsource
. You can set a custom location for the CLI installation script to download the binary to using an environment variable, BINDIR
. The default location is ./.bin/deepsource
(the .bin
directory will be created if it doesn’t already exist).
This can be helpful when you want the CLI to be installed to a directory in the PATH
, like ~/.local/bin
or /usr/local/bin
to make it accessible from anywhere:
DEEPSOURCE_DSN
value needs to be set in the environment, too.
DEEPSOURCE_DSN
.