Answers: <p>This is currently under <code>glab variable</code>,</p>
  <p>Manage GitLab Project and Group Variables</p>
  <pre><code>USAGE
    glab variable [flags]
  
  ALIASES
    var
  
  CORE COMMANDS
    delete:     Delete a project or group variable
    export:     Export project or group variables.
    get:        get a project or group variable
    list:       List project or group variables
    set:        Create a new project or group variable
    update:     Update an existing project or group variable
  
  FLAGS
    -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL
  
  INHERITED FLAGS
    --help   Show help for command
  
  LEARN MORE
    Use 'glab &lt;command&gt; &lt;subcommand&gt; --help' for more information about a command.
  </code></pre>
  
Answers: CC BY-SA 4.0
Answers: 2024-03-18T18:17:09.370Z
Answers: 2024-03-18T18:17:09.370Z
Answers: Evan Carroll
Body: <p>I would like to set an environmental variable with <code>glab</code>. I don't see the option on <code>glab ci</code>. How can I set an environmental variable?</p>
  
Tags: <gitlab><glab>
Title: How can I set an environmental variable with glab (glab-cli)?
UserDisplayName: Evan Carroll
ThreadText: # How can I set an environmental variable with glab (glab-cli)?
  
  (Asked by: username_0 on 2024-03-18)
  
  I would like to set an environmental variable with `glab`. I don't see the option on `glab ci`. How can I set an environmental variable?
  
  **Tags:** gitlab, glab
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2024-03-18. Score: 0 | Accepted answer
  
  This is currently under `glab variable`,
  
  Manage GitLab Project and Group Variables
  
  ```
  USAGE
    glab variable [flags]
  
  ALIASES
    var
  
  CORE COMMANDS
    delete:     Delete a project or group variable
    export:     Export project or group variables.
    get:        get a project or group variable
    list:       List project or group variables
    set:        Create a new project or group variable
    update:     Update an existing project or group variable
  
  FLAGS
    -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL
  
  INHERITED FLAGS
    --help   Show help for command
  
  LEARN MORE
    Use 'glab <command> <subcommand> --help' for more information about a command.
  
  ```
  
  
  ---
  
  