Let's add it to the environment variable from the command ~

Introduction

I use Windows and Linux when developing. Sometimes I use libraries made by others. At that time, I try to download it with ZIP or TAR without using the installer as much as possible before using it. You can use the installer to add new information to environment variables and copy executables to various locations. It's unpleasant to affect the existing environment even though I want to move it temporarily. Therefore, I start Taminal and change the environment variables temporarily before using it. The change only affects its timing, so it has no effect on other systems. If you close the timing, all the settings will be restored.

In each environment, add the path of the folder containing the executable file to the PATH variable as shown below before using it.

Linux

export PATH=$PATH:/opt/dakc/bin

Windows

  1. Command Promt
set PATH=%PATH%;C:\dakc\bin
  1. Powershell
$env:Path += ";C:\dakc\bin"

Recommended Posts

Let's add it to the environment variable from the command ~
How to create an article from the command line
Let's search from the procession
[pyqtgraph] Add region to the graph and link it with the graph region
[sh] How to store the command execution result in a variable
In the python command python points to python3.8
Arrange the dirty environment variable PATH
[linux] kill command to kill the process
[EC2] How to install and download chromedriver from the command line
From Ubuntu 20.04 introduction to environment construction
Everything from building a Python environment to running it on Windows
From the introduction of GoogleCloudPlatform Natural Language API to how to use it
I tried to execute SQL from the local environment using Looker SDK
Command to find the desired header file from the GCC, Clang include directories
I set the environment variable with Docker and displayed it in Python
[python] Send the image captured from the webcam to the server and save it
Is it possible to extract the person's profile information from the chat log?
I tried to summarize the umask command
Django ~ Let's display it in the browser ~
Set the environment variable PYTHONPATH on zsh
[Linux] How to use the echo command
How to use the Linux grep command
In Jupyter, add IPerl to the kernel.
How to operate Linux from the console
How to access the Datastore from the outside
How to add python module to anaconda environment
Add a Python virtual environment to VSCode
3 best ways to use the less command
Let's Encrypt updated! What to do if the certbot renew command doesn't work
[Free] Hit the Clash Royale API from lambda and send it to LINE
Let's try TensorFlow music generation project "Magenta" from development environment setting to song generation.
Add a command to mark similar files together
From Kivy environment construction to displaying Hello World
Just add the python array to the json data
Add Windows to the Linux OS boot menu
Plugin to add variable symbols (Sublime Text) Description
Command operation to not move from home position
Change the decimal point of logging from, to.
How to operate Linux from the outside Procedure
POST images from ESP32-CAM (MicroPython) to the server
How to measure line speed from the terminal
mkseldir --command to mkdir and select it further
Problems connecting to MySQL from Docker environment (Debian)
Convert XLSX to CSV on the command line
Wagtail Recommendation (4) Let's pass the context to the template
From 0 to Django development environment construction to basic operation
From Python environment construction to virtual environment construction with anaconda
The story of moving from Pipenv to Poetry
Create a command to get the work log
[Wagtail] Add a login page to the Wagtail project
When the Spyder integrated environment fails to work
The story of switching from WoSign to Let's Encrypt for a free SSL certificate
Make it easy to install the ROS2 development environment with pip install on Python venv
How to pass arguments when invoking python script from blender on the command line
The command to generate RFC bibtex is convenient, so deliver it to all X students
[It's not too late to learn Python from 2020] Part 2 Let's create a Python development environment